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
- wgx_sdk_version.cs
- TextRangeProviderWrapper.cs
- TransformerConfigurationWizardBase.cs
- WebPartManager.cs
- BufferModesCollection.cs
- BackStopAuthenticationModule.cs
- BinaryParser.cs
- DBConnection.cs
- DragEventArgs.cs
- CompoundFileIOPermission.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- FixedSOMPage.cs
- FamilyTypefaceCollection.cs
- AppDomainManager.cs
- TableTextElementCollectionInternal.cs
- RealizationContext.cs
- KernelTypeValidation.cs
- ImageInfo.cs
- SqlAliaser.cs
- GridViewRowPresenter.cs
- ParameterElementCollection.cs
- FormatException.cs
- TypeGeneratedEventArgs.cs
- Sql8ExpressionRewriter.cs
- WindowExtensionMethods.cs
- BamlLocalizabilityResolver.cs
- TransformGroup.cs
- DynamicObject.cs
- DataGridViewCheckBoxColumn.cs
- SiteMapNodeItemEventArgs.cs
- TreeViewImageIndexConverter.cs
- HtmlWindow.cs
- AppSettings.cs
- AmbientProperties.cs
- CombinedGeometry.cs
- NamedPipeChannelListener.cs
- XamlToRtfParser.cs
- Dump.cs
- XmlDocument.cs
- NativeMethods.cs
- Repeater.cs
- TrackingParticipant.cs
- KeyPressEvent.cs
- XmlEntity.cs
- AssemblySettingAttributes.cs
- ImageAttributes.cs
- SynchronizedPool.cs
- SizeConverter.cs
- NavigationFailedEventArgs.cs
- XpsSerializerWriter.cs
- CheckBox.cs
- FigureParaClient.cs
- BinaryObjectWriter.cs
- MailSettingsSection.cs
- ActionMessageFilter.cs
- HiddenFieldPageStatePersister.cs
- DataGridItemAttachedStorage.cs
- ForeignConstraint.cs
- SendMailErrorEventArgs.cs
- InternalBufferManager.cs
- ExceptionHelpers.cs
- RMEnrollmentPage2.cs
- dataobject.cs
- AdministrationHelpers.cs
- ScriptingWebServicesSectionGroup.cs
- Latin1Encoding.cs
- RSAOAEPKeyExchangeDeformatter.cs
- RecognizerInfo.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ManipulationVelocities.cs
- CompensationHandlingFilter.cs
- IPEndPoint.cs
- DataFormats.cs
- ByteStream.cs
- SqlDataSourceCache.cs
- PnrpPeerResolverBindingElement.cs
- ObjectDataSourceMethodEditor.cs
- BezierSegment.cs
- DelegatedStream.cs
- DataGridPagerStyle.cs
- ServiceProviders.cs
- HtmlPhoneCallAdapter.cs
- ConfigurationSectionGroup.cs
- RegistryKey.cs
- ErrorFormatterPage.cs
- PermissionAttributes.cs
- UrlMapping.cs
- CalendarDateChangedEventArgs.cs
- MetafileHeader.cs
- ClipboardData.cs
- ScriptControl.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- MsmqOutputSessionChannel.cs
- IdnMapping.cs
- FontDriver.cs
- DataControlFieldHeaderCell.cs
- ButtonChrome.cs
- WindowsGraphics2.cs
- DesignerTextBoxAdapter.cs
- DayRenderEvent.cs