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
- CaseInsensitiveComparer.cs
- DateTimeOffsetStorage.cs
- AsyncOperationManager.cs
- RijndaelManaged.cs
- SimpleType.cs
- isolationinterop.cs
- SqlConnectionHelper.cs
- ListViewInsertedEventArgs.cs
- MulticastOption.cs
- StrokeCollectionDefaultValueFactory.cs
- HelpEvent.cs
- OpCopier.cs
- RowUpdatedEventArgs.cs
- EncodingTable.cs
- SystemUnicastIPAddressInformation.cs
- Type.cs
- CollectionView.cs
- BinaryMethodMessage.cs
- WindowsListViewItemCheckBox.cs
- SendMailErrorEventArgs.cs
- OpacityConverter.cs
- NavigatorOutput.cs
- ExtensionWindow.cs
- EntityParameterCollection.cs
- ChannelPoolSettingsElement.cs
- BamlTreeUpdater.cs
- CultureMapper.cs
- SQLInt64Storage.cs
- NullToBooleanConverter.cs
- SynchronizationContext.cs
- LinqDataSourceStatusEventArgs.cs
- AncillaryOps.cs
- UpdateRecord.cs
- LabelLiteral.cs
- PlainXmlSerializer.cs
- XamlToRtfParser.cs
- SQLBytes.cs
- DbExpressionBuilder.cs
- ExclusiveTcpListener.cs
- ContractComponent.cs
- LinqDataSource.cs
- DynamicEntity.cs
- PeerToPeerException.cs
- ShaderEffect.cs
- ReferenceConverter.cs
- __Error.cs
- MD5CryptoServiceProvider.cs
- OdbcPermission.cs
- CompiledQuery.cs
- RuntimeConfigLKG.cs
- ToolZone.cs
- TypeUtil.cs
- WindowsAuthenticationModule.cs
- ResetableIterator.cs
- CategoryValueConverter.cs
- InheritanceAttribute.cs
- InvokeMethodActivity.cs
- FontCacheLogic.cs
- KnownTypes.cs
- BufferAllocator.cs
- ZeroOpNode.cs
- SimpleWebHandlerParser.cs
- ArrayListCollectionBase.cs
- AuthorizationRuleCollection.cs
- UrlMappingsModule.cs
- BoundColumn.cs
- XmlSchemaSimpleType.cs
- CryptoProvider.cs
- DbParameterCollectionHelper.cs
- CookielessHelper.cs
- TableLayoutPanelCellPosition.cs
- SqlCommandBuilder.cs
- Soap.cs
- ServiceDescriptionData.cs
- DataTableExtensions.cs
- MasterPage.cs
- Bidi.cs
- ViewSimplifier.cs
- StringUtil.cs
- AssertFilter.cs
- PersistChildrenAttribute.cs
- TransformerTypeCollection.cs
- TreeViewCancelEvent.cs
- IdentityValidationException.cs
- HttpsChannelFactory.cs
- RadialGradientBrush.cs
- ToolBar.cs
- DataPagerFieldItem.cs
- UIElementPropertyUndoUnit.cs
- CriticalHandle.cs
- EntityCommandExecutionException.cs
- CollectionViewSource.cs
- SQLInt64.cs
- FixedSOMContainer.cs
- SystemInfo.cs
- RunClient.cs
- PermissionToken.cs
- SqlXml.cs
- ImmComposition.cs
- ToolboxItemCollection.cs