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
- IPPacketInformation.cs
- DBDataPermission.cs
- AstNode.cs
- CatalogPartCollection.cs
- TextFormatterHost.cs
- FormsAuthenticationConfiguration.cs
- BitmapEffect.cs
- RegisteredArrayDeclaration.cs
- XamlTypeMapper.cs
- MediaElementAutomationPeer.cs
- SoapTypeAttribute.cs
- PropertyPathWorker.cs
- FindCriteriaCD1.cs
- PublisherIdentityPermission.cs
- TextRenderer.cs
- SystemUdpStatistics.cs
- SubMenuStyleCollection.cs
- WsatProxy.cs
- NetworkCredential.cs
- MetadataProperty.cs
- UIElementAutomationPeer.cs
- DataView.cs
- SelectionGlyph.cs
- Polyline.cs
- Pen.cs
- InvalidOperationException.cs
- AssemblyAssociatedContentFileAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- XsdBuildProvider.cs
- CompilerState.cs
- WinInetCache.cs
- WorkBatch.cs
- OleDbConnectionFactory.cs
- _DisconnectOverlappedAsyncResult.cs
- MatrixAnimationBase.cs
- Processor.cs
- CheckoutException.cs
- TcpTransportSecurityElement.cs
- DoubleAnimationUsingPath.cs
- SafeThemeHandle.cs
- Container.cs
- DataGridViewSelectedRowCollection.cs
- TextBreakpoint.cs
- PreviewPageInfo.cs
- LogicalMethodInfo.cs
- QuaternionAnimationBase.cs
- DescriptionAttribute.cs
- NotifyCollectionChangedEventArgs.cs
- ImageCodecInfoPrivate.cs
- CoTaskMemSafeHandle.cs
- MinMaxParagraphWidth.cs
- DocumentSchemaValidator.cs
- ExtenderProvidedPropertyAttribute.cs
- ObfuscateAssemblyAttribute.cs
- Tablet.cs
- StringArrayConverter.cs
- UTF32Encoding.cs
- TraceLevelStore.cs
- LinkButton.cs
- TypeGeneratedEventArgs.cs
- CacheAxisQuery.cs
- PolyBezierSegment.cs
- SafeNativeMethods.cs
- CustomTypeDescriptor.cs
- GradientSpreadMethodValidation.cs
- NullableDoubleAverageAggregationOperator.cs
- SectionInformation.cs
- ReachFixedPageSerializer.cs
- XamlLoadErrorInfo.cs
- SortableBindingList.cs
- PeerMaintainer.cs
- StrongName.cs
- ObjectTokenCategory.cs
- DataSourceCache.cs
- ProxyHwnd.cs
- HwndHostAutomationPeer.cs
- ConstrainedGroup.cs
- ColorTransform.cs
- SrgsRulesCollection.cs
- DocumentGridContextMenu.cs
- StateManagedCollection.cs
- CallInfo.cs
- DbParameterCollectionHelper.cs
- XmlSerializerAssemblyAttribute.cs
- Conditional.cs
- ObjectSet.cs
- MetadataSerializer.cs
- WebHostedComPlusServiceHost.cs
- LassoHelper.cs
- ResourceLoader.cs
- DriveInfo.cs
- XmlReflectionMember.cs
- Brushes.cs
- ImageFormatConverter.cs
- ConfigXmlWhitespace.cs
- MailFileEditor.cs
- HostedBindingBehavior.cs
- StorageMappingFragment.cs
- XsltLoader.cs
- WorkflowViewElement.cs