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
- basevalidator.cs
- ContainerControlDesigner.cs
- UserPersonalizationStateInfo.cs
- TickBar.cs
- XamlGridLengthSerializer.cs
- DbDeleteCommandTree.cs
- ObjectQueryProvider.cs
- ThumbButtonInfoCollection.cs
- SoapExtensionTypeElementCollection.cs
- CheckableControlBaseAdapter.cs
- MessagingDescriptionAttribute.cs
- bindurihelper.cs
- CommandLineParser.cs
- DocumentPageViewAutomationPeer.cs
- wgx_render.cs
- StreamWithDictionary.cs
- ContractCodeDomInfo.cs
- PersianCalendar.cs
- IntPtr.cs
- GetKeyedHashRequest.cs
- BrowsableAttribute.cs
- ProviderConnectionPointCollection.cs
- RangeValuePattern.cs
- ConnectionManagementElement.cs
- SQLBytesStorage.cs
- Switch.cs
- ChtmlPageAdapter.cs
- RadialGradientBrush.cs
- FrameworkContentElement.cs
- RectIndependentAnimationStorage.cs
- ByteAnimationBase.cs
- MergePropertyDescriptor.cs
- Control.cs
- MailDefinition.cs
- ModuleBuilderData.cs
- HostVisual.cs
- TransformedBitmap.cs
- SqlBooleanMismatchVisitor.cs
- columnmapfactory.cs
- CommonGetThemePartSize.cs
- MetadataItemEmitter.cs
- SkipStoryboardToFill.cs
- ReferencedAssembly.cs
- QilNode.cs
- UITypeEditors.cs
- FacetDescriptionElement.cs
- CodeDelegateCreateExpression.cs
- XmlSchemaException.cs
- Identifier.cs
- RequestQueue.cs
- CodeSubDirectory.cs
- HttpCachePolicyBase.cs
- IriParsingElement.cs
- ToolStripContentPanelRenderEventArgs.cs
- RestHandlerFactory.cs
- SystemIPAddressInformation.cs
- XmlJsonReader.cs
- ActivityStatusChangeEventArgs.cs
- XamlToRtfWriter.cs
- COM2IDispatchConverter.cs
- EffectiveValueEntry.cs
- ObjectParameter.cs
- ThrowHelper.cs
- SecurityResources.cs
- MergablePropertyAttribute.cs
- Preprocessor.cs
- ProtectedConfigurationProviderCollection.cs
- CollectionDataContract.cs
- CodeIndexerExpression.cs
- MessageSmuggler.cs
- BrowserCapabilitiesCompiler.cs
- AutomationPeer.cs
- IdnElement.cs
- RoleExceptions.cs
- WpfPayload.cs
- ModuleBuilder.cs
- RegularExpressionValidator.cs
- ToolStripDropDownDesigner.cs
- CellTreeNode.cs
- UnknownWrapper.cs
- CryptoHandle.cs
- TextSelectionHighlightLayer.cs
- TypeValidationEventArgs.cs
- SHA1CryptoServiceProvider.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- ActivityScheduledRecord.cs
- BinaryUtilClasses.cs
- Calendar.cs
- WindowsEditBoxRange.cs
- HttpInputStream.cs
- TrustManagerPromptUI.cs
- FlowDocumentReader.cs
- _DigestClient.cs
- GridLengthConverter.cs
- ManifestResourceInfo.cs
- Boolean.cs
- _HeaderInfo.cs
- PaperSource.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SelectorAutomationPeer.cs