Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridCommandEventArgs.cs / 1 / DataGridCommandEventArgs.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 DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; 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. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the item 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 DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; 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. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the item 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
- SqlRowUpdatingEvent.cs
- ThicknessAnimationBase.cs
- TouchesCapturedWithinProperty.cs
- SessionState.cs
- WebBrowserUriTypeConverter.cs
- SolidColorBrush.cs
- WindowVisualStateTracker.cs
- TriState.cs
- Point3DCollection.cs
- ActiveXSite.cs
- IdentitySection.cs
- StylusPlugInCollection.cs
- DataServiceContext.cs
- InlineObject.cs
- SplineKeyFrames.cs
- CanonicalXml.cs
- SafeCoTaskMem.cs
- LoadRetryStrategyFactory.cs
- ThreadInterruptedException.cs
- RuntimeResourceSet.cs
- GifBitmapDecoder.cs
- StickyNoteContentControl.cs
- _ConnectStream.cs
- IntPtr.cs
- TransactionInformation.cs
- TableStyle.cs
- TransformValueSerializer.cs
- AuthenticatedStream.cs
- SqlDataSourceCommandEventArgs.cs
- HttpGetClientProtocol.cs
- EntityContainerEmitter.cs
- StylusCaptureWithinProperty.cs
- NavigatorInvalidBodyAccessException.cs
- ProfileService.cs
- PathData.cs
- ObjectStateFormatter.cs
- LinqDataSourceEditData.cs
- InvokerUtil.cs
- QilGenerator.cs
- ActivityDesignerResources.cs
- OletxEnlistment.cs
- Constant.cs
- ToolBar.cs
- UnsafeNativeMethods.cs
- BaseDataListActionList.cs
- EntityTypeEmitter.cs
- FormatterServices.cs
- DataGridViewDataErrorEventArgs.cs
- WebZone.cs
- WebPartConnectionCollection.cs
- StringValidator.cs
- ToolStripContainer.cs
- ServiceEndpointAssociationProvider.cs
- ProjectionRewriter.cs
- SafeProcessHandle.cs
- InvalidAsynchronousStateException.cs
- WorkflowInstanceAbortedRecord.cs
- SmtpCommands.cs
- XmlCustomFormatter.cs
- XmlSchemaElement.cs
- IHttpResponseInternal.cs
- WebAdminConfigurationHelper.cs
- ClientConfigurationSystem.cs
- _OSSOCK.cs
- Graph.cs
- MediaPlayer.cs
- QueryRewriter.cs
- ErrorStyle.cs
- SuppressIldasmAttribute.cs
- PropertyManager.cs
- WebPermission.cs
- BitmapVisualManager.cs
- TrustManager.cs
- WriteTimeStream.cs
- Token.cs
- ApplicationSecurityInfo.cs
- ImportCatalogPart.cs
- MailWebEventProvider.cs
- XmlNamespaceDeclarationsAttribute.cs
- NonClientArea.cs
- BufferAllocator.cs
- AssemblyBuilder.cs
- CodeIdentifiers.cs
- Int16KeyFrameCollection.cs
- FontEditor.cs
- TokenizerHelper.cs
- InputReport.cs
- MembershipPasswordException.cs
- ParameterToken.cs
- DocumentApplicationJournalEntry.cs
- OperationAbortedException.cs
- ButtonChrome.cs
- DataViewSetting.cs
- CellConstantDomain.cs
- SafeHandles.cs
- SoapInteropTypes.cs
- ConnectionOrientedTransportElement.cs
- Boolean.cs
- EntityWrapperFactory.cs
- BaseCollection.cs