Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CssClassPropertyAttribute.cs
- SharedUtils.cs
- ScrollChrome.cs
- LocationReferenceEnvironment.cs
- BindingContext.cs
- sqlpipe.cs
- ItemDragEvent.cs
- SqlWebEventProvider.cs
- PackageRelationshipSelector.cs
- ButtonChrome.cs
- ContentElement.cs
- HyperLinkStyle.cs
- SizeConverter.cs
- Point4D.cs
- EncryptedPackage.cs
- DbMetaDataColumnNames.cs
- MsmqReceiveParameters.cs
- BooleanAnimationUsingKeyFrames.cs
- SerialPort.cs
- XamlTypeMapper.cs
- EpmSourceTree.cs
- InProcStateClientManager.cs
- NotFiniteNumberException.cs
- XmlValueConverter.cs
- ProcessHostServerConfig.cs
- XmlSchemaInclude.cs
- GreaterThan.cs
- DefaultTextStoreTextComposition.cs
- SpecialNameAttribute.cs
- Contracts.cs
- ConfigurationSection.cs
- NavigationPropertyEmitter.cs
- PrintPreviewGraphics.cs
- DrawingCollection.cs
- PartitionResolver.cs
- CategoryNameCollection.cs
- PieceNameHelper.cs
- InstanceLockQueryResult.cs
- CacheMode.cs
- ToolStripSettings.cs
- TagElement.cs
- PassportIdentity.cs
- ALinqExpressionVisitor.cs
- UnsafeNativeMethods.cs
- ControlPropertyNameConverter.cs
- SingleKeyFrameCollection.cs
- SessionPageStatePersister.cs
- Hash.cs
- WebHttpSecurityModeHelper.cs
- StyleSheetRefUrlEditor.cs
- And.cs
- CodeAccessPermission.cs
- ValidatorAttribute.cs
- EncryptedKey.cs
- WorkflowRuntimeServiceElementCollection.cs
- CalendarBlackoutDatesCollection.cs
- ListView.cs
- TypeListConverter.cs
- StorageEntitySetMapping.cs
- ModuleConfigurationInfo.cs
- OpCodes.cs
- SystemMulticastIPAddressInformation.cs
- SubMenuStyleCollection.cs
- TypefaceMap.cs
- ContentValidator.cs
- PenContexts.cs
- SHA256Cng.cs
- CustomCredentialPolicy.cs
- XmlDownloadManager.cs
- Encoder.cs
- MD5CryptoServiceProvider.cs
- Triangle.cs
- ItemContainerGenerator.cs
- ResourceProviderFactory.cs
- AspCompat.cs
- StreamAsIStream.cs
- ContentElementAutomationPeer.cs
- XamlDesignerSerializationManager.cs
- _ConnectStream.cs
- ThreadExceptionDialog.cs
- BaseCodeDomTreeGenerator.cs
- DataServiceClientException.cs
- LineServices.cs
- AstTree.cs
- TerminatorSinks.cs
- EmptyEnumerator.cs
- Utils.cs
- HttpPostedFileWrapper.cs
- DataGridViewCellFormattingEventArgs.cs
- TypeUtils.cs
- Win32Exception.cs
- StringComparer.cs
- WebPartDisplayModeCancelEventArgs.cs
- TraceData.cs
- XmlStreamStore.cs
- ToolStripContentPanelDesigner.cs
- CheckBoxField.cs
- SessionPageStateSection.cs
- DbProviderFactoriesConfigurationHandler.cs
- ExtendLockCommand.cs