Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CompilationUtil.cs
- AttachedPropertyMethodSelector.cs
- Attributes.cs
- CommandField.cs
- EntityDataSource.cs
- TextUtf8RawTextWriter.cs
- XmlSignatureManifest.cs
- OdbcError.cs
- CreateUserWizard.cs
- Walker.cs
- TemplateBamlRecordReader.cs
- MetadataItem.cs
- DeferredElementTreeState.cs
- PerfCounterSection.cs
- WebPartTracker.cs
- MapPathBasedVirtualPathProvider.cs
- _ChunkParse.cs
- BatchServiceHost.cs
- XmlNodeChangedEventManager.cs
- CommonXSendMessage.cs
- TemplateParser.cs
- WindowsAltTab.cs
- AnnotationStore.cs
- TemplateGroupCollection.cs
- DefaultWorkflowTransactionService.cs
- WebBrowserProgressChangedEventHandler.cs
- MaskInputRejectedEventArgs.cs
- UnsupportedPolicyOptionsException.cs
- EmptyElement.cs
- DataControlButton.cs
- UnsafeNativeMethods.cs
- SecurityHelper.cs
- OdbcConnectionOpen.cs
- XmlBufferedByteStreamReader.cs
- CheckBoxRenderer.cs
- SqlConnectionStringBuilder.cs
- AspProxy.cs
- RC2CryptoServiceProvider.cs
- ChannelServices.cs
- DefaultTextStoreTextComposition.cs
- ErrorRuntimeConfig.cs
- WindowsEditBoxRange.cs
- SpoolingTask.cs
- SelectionEditor.cs
- Unit.cs
- ProviderException.cs
- PointConverter.cs
- Light.cs
- BinaryCommonClasses.cs
- RoleServiceManager.cs
- XamlValidatingReader.cs
- ConnectionStringSettings.cs
- Int32CollectionValueSerializer.cs
- ChtmlLinkAdapter.cs
- XhtmlBasicObjectListAdapter.cs
- LocalValueEnumerator.cs
- errorpatternmatcher.cs
- ProtocolElementCollection.cs
- AddDataControlFieldDialog.cs
- TextEditorLists.cs
- XamlPointCollectionSerializer.cs
- SqlUnionizer.cs
- PTProvider.cs
- OdbcEnvironment.cs
- NativeRightsManagementAPIsStructures.cs
- MimeParameters.cs
- filewebresponse.cs
- WindowsScrollBar.cs
- Verify.cs
- DataGridViewRowStateChangedEventArgs.cs
- StateMachineWorkflowInstance.cs
- RegexBoyerMoore.cs
- Grant.cs
- XmlSchema.cs
- InvalidComObjectException.cs
- IProvider.cs
- mactripleDES.cs
- DefaultPrintController.cs
- HostingPreferredMapPath.cs
- ToolStripSplitStackLayout.cs
- HotSpotCollection.cs
- RoutingBehavior.cs
- Panel.cs
- QilPatternFactory.cs
- Point.cs
- Pair.cs
- DataGridViewCellStateChangedEventArgs.cs
- XmlMapping.cs
- WindowsGraphicsCacheManager.cs
- DrawingCollection.cs
- CacheChildrenQuery.cs
- ToolStripDropDownButton.cs
- PipeStream.cs
- MethodBuilderInstantiation.cs
- LabelAutomationPeer.cs
- EdmScalarPropertyAttribute.cs
- RelatedCurrencyManager.cs
- GradientSpreadMethodValidation.cs
- PolicyReader.cs
- SamlAction.cs