Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VectorKeyFrameCollection.cs
- DbConnectionStringBuilder.cs
- Composition.cs
- DecoderFallback.cs
- MatrixAnimationUsingKeyFrames.cs
- Triplet.cs
- ClipboardProcessor.cs
- BlurBitmapEffect.cs
- WebPartVerbCollection.cs
- KerberosRequestorSecurityToken.cs
- UIAgentMonitorHandle.cs
- ModulesEntry.cs
- XPathException.cs
- WindowsListViewItemCheckBox.cs
- CqlLexerHelpers.cs
- WebPartCatalogCloseVerb.cs
- HttpResponse.cs
- CfgParser.cs
- ApplicationException.cs
- SpellerError.cs
- DataGridViewRowPostPaintEventArgs.cs
- DataGrid.cs
- CompletionBookmark.cs
- MenuItem.cs
- DataGridViewTopRowAccessibleObject.cs
- SessionParameter.cs
- NullRuntimeConfig.cs
- MappingException.cs
- MasterPageParser.cs
- ListViewDataItem.cs
- BitmapEncoder.cs
- RowUpdatingEventArgs.cs
- Triangle.cs
- PtsCache.cs
- OpenFileDialog.cs
- TextEditorSpelling.cs
- FullTextLine.cs
- CodeDelegateCreateExpression.cs
- WebPartActionVerb.cs
- ZoneIdentityPermission.cs
- XmlCountingReader.cs
- WebBrowserNavigatingEventHandler.cs
- StorageSetMapping.cs
- ActivitySurrogate.cs
- BooleanFunctions.cs
- ISCIIEncoding.cs
- FixedBufferAttribute.cs
- HttpFormatExtensions.cs
- EventDriven.cs
- TextView.cs
- PackagingUtilities.cs
- TemplateControlCodeDomTreeGenerator.cs
- AccessDataSourceView.cs
- ProxyWebPart.cs
- mansign.cs
- DataContractSerializerOperationGenerator.cs
- util.cs
- WmlControlAdapter.cs
- NavigatorOutput.cs
- TPLETWProvider.cs
- XmlWellformedWriter.cs
- PbrsForward.cs
- WebReferencesBuildProvider.cs
- CodeMethodInvokeExpression.cs
- SchemaCollectionPreprocessor.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- ObjectReaderCompiler.cs
- PropertyInfoSet.cs
- LocalizableAttribute.cs
- LongValidator.cs
- BoundingRectTracker.cs
- AuthorizationSection.cs
- ValuePatternIdentifiers.cs
- BindableTemplateBuilder.cs
- ConditionalAttribute.cs
- UnsafeNativeMethods.cs
- TextureBrush.cs
- TemplatedWizardStep.cs
- CustomAttributeFormatException.cs
- ConnectionStringSettings.cs
- MouseActionConverter.cs
- ChangeTracker.cs
- DataSourceCache.cs
- Menu.cs
- TableAutomationPeer.cs
- TabletDeviceInfo.cs
- PathGeometry.cs
- Base64Encoding.cs
- PtsHelper.cs
- ListViewUpdatedEventArgs.cs
- SetStateEventArgs.cs
- LocalBuilder.cs
- _FtpDataStream.cs
- SymbolType.cs
- FacetChecker.cs
- CharacterShapingProperties.cs
- UserPreferenceChangedEventArgs.cs
- XmlMembersMapping.cs
- ForceCopyBuildProvider.cs
- FileUpload.cs