Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- StatusBarPanel.cs
- WebPartMinimizeVerb.cs
- OleDbParameter.cs
- MultiplexingFormatMapping.cs
- BaseEntityWrapper.cs
- BoundsDrawingContextWalker.cs
- AvTrace.cs
- ChunkedMemoryStream.cs
- DataServiceProviderWrapper.cs
- NamespaceDecl.cs
- EventLog.cs
- XmlDataImplementation.cs
- HMACSHA1.cs
- Binding.cs
- DataFieldEditor.cs
- HttpPostedFileBase.cs
- LOSFormatter.cs
- CodeTypeConstructor.cs
- Matrix3DStack.cs
- DashStyle.cs
- TreeNodeCollection.cs
- EntityCommandDefinition.cs
- ExtentKey.cs
- HostingEnvironmentWrapper.cs
- ProcessStartInfo.cs
- cryptoapiTransform.cs
- SemanticKeyElement.cs
- NamespaceQuery.cs
- InheritanceService.cs
- StrongNameIdentityPermission.cs
- XmlSerializerFactory.cs
- RequestFactory.cs
- UnlockInstanceAsyncResult.cs
- HtmlTableRow.cs
- ParagraphVisual.cs
- DocumentGrid.cs
- MethodBuilderInstantiation.cs
- DataSourceGroupCollection.cs
- CmsInterop.cs
- EndpointFilterProvider.cs
- PrintDialog.cs
- JapaneseCalendar.cs
- SiteMapNodeItem.cs
- ChannelServices.cs
- XmlWellformedWriterHelpers.cs
- OleDbInfoMessageEvent.cs
- ClonableStack.cs
- LiteralLink.cs
- SiteMapPath.cs
- EntityViewGenerator.cs
- EntitySetRetriever.cs
- Italic.cs
- AssemblyAssociatedContentFileAttribute.cs
- StateChangeEvent.cs
- CacheSection.cs
- SHA256.cs
- cookie.cs
- DataErrorValidationRule.cs
- Drawing.cs
- SqlGenericUtil.cs
- ServiceHandle.cs
- DataGridViewColumnDesigner.cs
- MouseEventArgs.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- InputLangChangeEvent.cs
- listviewsubitemcollectioneditor.cs
- TableRowCollection.cs
- XPathAncestorQuery.cs
- SqlCommandBuilder.cs
- SerializationFieldInfo.cs
- ProtectedConfiguration.cs
- TypeHelper.cs
- XAMLParseException.cs
- UnsafeMethods.cs
- Stack.cs
- CryptoKeySecurity.cs
- HandlerBase.cs
- StatusBarAutomationPeer.cs
- HwndTarget.cs
- AuthenticationManager.cs
- LinkConverter.cs
- TrackingQuery.cs
- ProtocolsConfigurationEntry.cs
- XsdValidatingReader.cs
- ToolStripMenuItem.cs
- WhitespaceRuleLookup.cs
- CollectionType.cs
- GradientSpreadMethodValidation.cs
- Converter.cs
- BulletedListEventArgs.cs
- ProviderBase.cs
- UIElementPropertyUndoUnit.cs
- ParseHttpDate.cs
- validationstate.cs
- OutOfProcStateClientManager.cs
- RedistVersionInfo.cs
- PointCollection.cs
- ApplicationInfo.cs
- UriExt.cs
- PropertyChangeTracker.cs