Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- QueuePropertyVariants.cs
- AttributeConverter.cs
- KnownBoxes.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ClientSettings.cs
- SchemaMerger.cs
- ChameleonKey.cs
- ValidationPropertyAttribute.cs
- ListBox.cs
- IOException.cs
- DispatcherEventArgs.cs
- BaseValidator.cs
- RepeatButtonAutomationPeer.cs
- XmlAnyElementAttribute.cs
- Composition.cs
- CharConverter.cs
- SqlBulkCopy.cs
- UtilityExtension.cs
- ControlCachePolicy.cs
- HttpListenerRequest.cs
- ThaiBuddhistCalendar.cs
- SAPIEngineTypes.cs
- ManagedFilter.cs
- XmlBaseWriter.cs
- RSAOAEPKeyExchangeFormatter.cs
- IERequestCache.cs
- QueryCreatedEventArgs.cs
- XmlWrappingWriter.cs
- DiagnosticsElement.cs
- NumberSubstitution.cs
- BufferBuilder.cs
- Transform3DGroup.cs
- UIElementParagraph.cs
- FrameworkName.cs
- SpoolingTask.cs
- XslException.cs
- UriWriter.cs
- ClientTarget.cs
- RuntimeConfigLKG.cs
- Typeface.cs
- WCFServiceClientProxyGenerator.cs
- DeploymentSectionCache.cs
- TextTreeTextBlock.cs
- DataTrigger.cs
- Schema.cs
- MessageSmuggler.cs
- CombinedGeometry.cs
- GridViewSelectEventArgs.cs
- XMLUtil.cs
- BinHexEncoding.cs
- HttpTransportElement.cs
- DrawingImage.cs
- ServicePointManager.cs
- SRef.cs
- URIFormatException.cs
- TextBoxLine.cs
- MetadataStore.cs
- DynamicVirtualDiscoSearcher.cs
- RuleEngine.cs
- NullRuntimeConfig.cs
- ObjectTokenCategory.cs
- TextPatternIdentifiers.cs
- PlatformCulture.cs
- PeerPresenceInfo.cs
- ItemDragEvent.cs
- DataControlFieldsEditor.cs
- StorageEndPropertyMapping.cs
- DefinitionBase.cs
- CustomAttributeSerializer.cs
- PrintingPermissionAttribute.cs
- HttpResponse.cs
- VirtualizedItemProviderWrapper.cs
- DataListCommandEventArgs.cs
- ZoneLinkButton.cs
- CookieProtection.cs
- ITextView.cs
- ProcessHostFactoryHelper.cs
- TemplateInstanceAttribute.cs
- FieldAccessException.cs
- VerificationAttribute.cs
- WindowHideOrCloseTracker.cs
- XhtmlConformanceSection.cs
- XPathCompileException.cs
- ComponentChangingEvent.cs
- WindowsGrip.cs
- QilTypeChecker.cs
- TaiwanLunisolarCalendar.cs
- ClassImporter.cs
- OdbcStatementHandle.cs
- MouseOverProperty.cs
- SyndicationDeserializer.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ManifestResourceInfo.cs
- PEFileReader.cs
- ClientTargetCollection.cs
- ItemList.cs
- NativeMethods.cs
- ToolStripMenuItem.cs
- ClientSettingsSection.cs
- FileVersionInfo.cs