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
- DragStartedEventArgs.cs
- StructuralObject.cs
- InitializationEventAttribute.cs
- NativeMethods.cs
- TextRangeSerialization.cs
- GifBitmapDecoder.cs
- TextClipboardData.cs
- UIElementIsland.cs
- MessageDispatch.cs
- IgnoreSectionHandler.cs
- DataKeyCollection.cs
- UIPermission.cs
- MsdtcWrapper.cs
- DiscriminatorMap.cs
- ExceptionUtil.cs
- TrustManager.cs
- UICuesEvent.cs
- UrlMappingsModule.cs
- ParentQuery.cs
- ClientType.cs
- WarningException.cs
- CatalogZoneBase.cs
- ClientUtils.cs
- Unit.cs
- GetIndexBinder.cs
- UnescapedXmlDiagnosticData.cs
- OracleDataAdapter.cs
- XmlSchemaSimpleContentRestriction.cs
- Monitor.cs
- UnsafeNativeMethodsCLR.cs
- StdValidatorsAndConverters.cs
- DbConnectionPool.cs
- IgnoreSectionHandler.cs
- LayoutDump.cs
- PairComparer.cs
- Brush.cs
- TagMapInfo.cs
- GradientStop.cs
- JoinTreeNode.cs
- RichTextBoxAutomationPeer.cs
- NamespaceQuery.cs
- OleDbWrapper.cs
- ServiceProviders.cs
- SystemTcpConnection.cs
- Facet.cs
- StandardToolWindows.cs
- ReadWriteSpinLock.cs
- CodeDirectoryCompiler.cs
- ApplicationTrust.cs
- WebPartVerb.cs
- WebPartEditorApplyVerb.cs
- XmlUtf8RawTextWriter.cs
- File.cs
- DSASignatureDeformatter.cs
- EventLogPermissionEntryCollection.cs
- TextPointerBase.cs
- HScrollBar.cs
- Nullable.cs
- ApplicationServiceManager.cs
- TextEffect.cs
- BooleanConverter.cs
- KeyboardEventArgs.cs
- AdvancedBindingEditor.cs
- RawStylusInputCustomData.cs
- AssemblyResourceLoader.cs
- ShaderEffect.cs
- AccessibleObject.cs
- ResourceDictionary.cs
- ServiceHttpHandlerFactory.cs
- InlineObject.cs
- ProfilePropertySettingsCollection.cs
- KeysConverter.cs
- SponsorHelper.cs
- GenerateTemporaryTargetAssembly.cs
- TreeNodeStyle.cs
- PagerSettings.cs
- ClickablePoint.cs
- BaseResourcesBuildProvider.cs
- IsolatedStoragePermission.cs
- ListView.cs
- ToolStripGrip.cs
- EdmToObjectNamespaceMap.cs
- EDesignUtil.cs
- figurelength.cs
- AutomationEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- CommonObjectSecurity.cs
- ExpiredSecurityTokenException.cs
- Interlocked.cs
- PersonalizationAdministration.cs
- TextDecoration.cs
- SpeakCompletedEventArgs.cs
- SqlError.cs
- DateTimeFormatInfo.cs
- DataGridViewColumnConverter.cs
- LoginViewDesigner.cs
- StateRuntime.cs
- HttpConfigurationContext.cs
- regiisutil.cs
- FlagsAttribute.cs