Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1305376 / GridViewCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// public class GridViewCommandEventArgs : CommandEventArgs { private GridViewRow _row; private object _commandSource; ///Provides data for some ///events. /// public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._row = row; this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return _commandSource; } } ///Gets the source of the command. This property is read-only. ////// internal GridViewRow Row { get { return _row; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the row in the ///that was clicked. This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// public class GridViewCommandEventArgs : CommandEventArgs { private GridViewRow _row; private object _commandSource; ///Provides data for some ///events. /// public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._row = row; this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return _commandSource; } } ///Gets the source of the command. This property is read-only. ////// internal GridViewRow Row { get { return _row; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the row in the ///that was clicked. This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptResourceInfo.cs
- SqlPersonalizationProvider.cs
- OdbcEnvironmentHandle.cs
- Wizard.cs
- SqlProfileProvider.cs
- PointAnimation.cs
- MDIWindowDialog.cs
- altserialization.cs
- EntityContainerAssociationSetEnd.cs
- DesignUtil.cs
- QualifiedCellIdBoolean.cs
- InvokeHandlers.cs
- MaskPropertyEditor.cs
- UidPropertyAttribute.cs
- HandlerWithFactory.cs
- MemberMemberBinding.cs
- InputQueueChannelAcceptor.cs
- PrefixHandle.cs
- Link.cs
- SqlFormatter.cs
- ConnectionConsumerAttribute.cs
- GridEntry.cs
- ClientRoleProvider.cs
- SyndicationElementExtension.cs
- ImageBrush.cs
- IntranetCredentialPolicy.cs
- BamlRecordReader.cs
- NavigateEvent.cs
- SafeUserTokenHandle.cs
- MouseActionValueSerializer.cs
- HttpContextWrapper.cs
- BamlLocalizableResourceKey.cs
- TraceListener.cs
- EncoderBestFitFallback.cs
- X509CertificateInitiatorClientCredential.cs
- Button.cs
- ReferencedCollectionType.cs
- Certificate.cs
- OleDbStruct.cs
- FontCacheUtil.cs
- CheckableControlBaseAdapter.cs
- MissingManifestResourceException.cs
- SerializationSectionGroup.cs
- Group.cs
- CorrelationValidator.cs
- NamespaceCollection.cs
- MethodBuilderInstantiation.cs
- DataKey.cs
- DbConvert.cs
- NotConverter.cs
- DescendentsWalkerBase.cs
- AuthenticationModulesSection.cs
- CodeDOMProvider.cs
- ToolStripLocationCancelEventArgs.cs
- RepeatButtonAutomationPeer.cs
- WebDescriptionAttribute.cs
- ArrayListCollectionBase.cs
- SchemaTableOptionalColumn.cs
- SqlProviderManifest.cs
- AdornedElementPlaceholder.cs
- CodeIdentifier.cs
- RequiredFieldValidator.cs
- CallTemplateAction.cs
- glyphs.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- SectionInformation.cs
- XmlDictionaryReaderQuotas.cs
- KeyEvent.cs
- TemplateComponentConnector.cs
- AssemblyCache.cs
- SuppressIldasmAttribute.cs
- PeerNameRecordCollection.cs
- DbConnectionHelper.cs
- JsonDeserializer.cs
- DispatcherOperation.cs
- WMIInterop.cs
- PrinterSettings.cs
- ConfigurationSchemaErrors.cs
- dbdatarecord.cs
- ListParaClient.cs
- SystemColorTracker.cs
- XmlSerializer.cs
- ChannelDispatcherBase.cs
- XmlSerializerNamespaces.cs
- XmlNamedNodeMap.cs
- EntityViewGenerationAttribute.cs
- autovalidator.cs
- mactripleDES.cs
- BinaryCommonClasses.cs
- ParameterBuilder.cs
- FrameworkElementFactoryMarkupObject.cs
- CqlLexer.cs
- _TimerThread.cs
- UshortList2.cs
- WindowAutomationPeer.cs
- IntSecurity.cs
- HttpFileCollection.cs
- ConsoleKeyInfo.cs
- TypedDatasetGenerator.cs
- RewritingProcessor.cs