Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1 / GridViewCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. /// 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.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. /// 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
- CutCopyPasteHelper.cs
- OuterGlowBitmapEffect.cs
- AssociationType.cs
- WebPartAddingEventArgs.cs
- XPathExpr.cs
- Utils.cs
- XmlRawWriterWrapper.cs
- TreeNode.cs
- util.cs
- ClientCredentialsElement.cs
- EntityContainerAssociationSet.cs
- DbParameterCollection.cs
- IndependentAnimationStorage.cs
- RenderContext.cs
- RequestContext.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ImageMap.cs
- CertificateManager.cs
- RuleSetBrowserDialog.cs
- DataRowView.cs
- DeviceContext2.cs
- ArraySet.cs
- ObjectStorage.cs
- TagNameToTypeMapper.cs
- XmlComment.cs
- DependencyPropertyAttribute.cs
- StrokeCollectionConverter.cs
- CornerRadius.cs
- ResourcesGenerator.cs
- UInt16Converter.cs
- CodeNamespaceCollection.cs
- BasicAsyncResult.cs
- CultureInfoConverter.cs
- DtcInterfaces.cs
- ContentElement.cs
- XmlChildNodes.cs
- WebPartTransformerCollection.cs
- ProtocolsConfiguration.cs
- MembershipUser.cs
- PageThemeCodeDomTreeGenerator.cs
- ChannelBinding.cs
- XmlReader.cs
- ASCIIEncoding.cs
- SelectionProcessor.cs
- WebHeaderCollection.cs
- ProgressBarAutomationPeer.cs
- FormClosedEvent.cs
- List.cs
- WindowInteractionStateTracker.cs
- TabControlCancelEvent.cs
- KerberosRequestorSecurityToken.cs
- PlaceHolder.cs
- SessionParameter.cs
- ConversionHelper.cs
- TextViewSelectionProcessor.cs
- CallbackValidator.cs
- VisualStateGroup.cs
- Hash.cs
- HttpBrowserCapabilitiesWrapper.cs
- ToolStripRenderEventArgs.cs
- ClientSession.cs
- DesignerCatalogPartChrome.cs
- MediaEntryAttribute.cs
- CipherData.cs
- TimerElapsedEvenArgs.cs
- EncodingTable.cs
- ThicknessAnimation.cs
- XmlCharCheckingReader.cs
- DataGridCellClipboardEventArgs.cs
- unsafenativemethodstextservices.cs
- webeventbuffer.cs
- FormClosedEvent.cs
- EmbeddedMailObjectCollectionEditor.cs
- WebBrowserContainer.cs
- ScaleTransform.cs
- WebConfigurationHost.cs
- WebPartPersonalization.cs
- Span.cs
- TreeNodeClickEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- TextHidden.cs
- PageCodeDomTreeGenerator.cs
- EntitySetBase.cs
- OracleInfoMessageEventArgs.cs
- WriteLineDesigner.xaml.cs
- TraceListeners.cs
- Baml6ConstructorInfo.cs
- CroppedBitmap.cs
- Internal.cs
- HttpVersion.cs
- CompatibleComparer.cs
- WindowsProgressbar.cs
- DataGridViewColumnCollection.cs
- SortableBindingList.cs
- PropertyInfoSet.cs
- KeyInfo.cs
- WSDualHttpBinding.cs
- PeerNameResolver.cs
- ApplicationException.cs
- WebPartConnectionsConnectVerb.cs