Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }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
- WindowsToolbarItemAsMenuItem.cs
- DataGridViewRowHeaderCell.cs
- SelectQueryOperator.cs
- FixedSOMPageConstructor.cs
- ContextInformation.cs
- ResourceFallbackManager.cs
- xamlnodes.cs
- SqlGenericUtil.cs
- HtmlElementEventArgs.cs
- RichTextBoxAutomationPeer.cs
- Substitution.cs
- PropertyOverridesDialog.cs
- BoundColumn.cs
- PageClientProxyGenerator.cs
- UiaCoreProviderApi.cs
- PropertyConverter.cs
- PtsHost.cs
- XhtmlBasicCommandAdapter.cs
- XmlSchemaInferenceException.cs
- UniformGrid.cs
- Win32.cs
- RegistryExceptionHelper.cs
- SecurityPolicyVersion.cs
- WebPageTraceListener.cs
- SqlDataSourceStatusEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- TdsParserSessionPool.cs
- AsymmetricSignatureFormatter.cs
- PointCollectionValueSerializer.cs
- ToolConsole.cs
- InvalidAsynchronousStateException.cs
- DataGridViewCell.cs
- StreamAsIStream.cs
- FileSystemWatcher.cs
- ExtensionFile.cs
- TypeSource.cs
- HttpListener.cs
- DocobjHost.cs
- ValidationSummaryDesigner.cs
- XmlSchemaSimpleTypeUnion.cs
- Compiler.cs
- AsymmetricSignatureDeformatter.cs
- MemoryMappedViewStream.cs
- PseudoWebRequest.cs
- EventSinkActivity.cs
- _SafeNetHandles.cs
- MdiWindowListStrip.cs
- EncoderParameter.cs
- Selection.cs
- BitmapVisualManager.cs
- LinkAreaEditor.cs
- PageThemeBuildProvider.cs
- DynamicControl.cs
- TextParagraphCache.cs
- Pkcs9Attribute.cs
- StylusPointProperty.cs
- sitestring.cs
- ReflectTypeDescriptionProvider.cs
- SignatureSummaryDialog.cs
- ViewPort3D.cs
- RectConverter.cs
- DelimitedListTraceListener.cs
- ConfigXmlAttribute.cs
- basemetadatamappingvisitor.cs
- NativeMethods.cs
- FixedPageStructure.cs
- SqlDataSourceView.cs
- StringConverter.cs
- DbFunctionCommandTree.cs
- SafeCryptContextHandle.cs
- ConfigsHelper.cs
- SoapFormatExtensions.cs
- EmissiveMaterial.cs
- FormsAuthenticationConfiguration.cs
- TextWriterTraceListener.cs
- TableLayoutCellPaintEventArgs.cs
- ConfigurationLocationCollection.cs
- WebBrowserBase.cs
- KeyPressEvent.cs
- CategoryAttribute.cs
- DocumentViewerConstants.cs
- Style.cs
- TemplateBaseAction.cs
- PersonalizablePropertyEntry.cs
- BuildProviderCollection.cs
- TypeRefElement.cs
- Typeface.cs
- Panel.cs
- Hash.cs
- EmissiveMaterial.cs
- SqlReferenceCollection.cs
- AutoResizedEvent.cs
- Connector.cs
- InkCanvasAutomationPeer.cs
- ImpersonationContext.cs
- BitmapCodecInfoInternal.cs
- PassportAuthenticationModule.cs
- FormsAuthenticationCredentials.cs
- DesignerDataSourceView.cs
- RoutedEventConverter.cs