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
- HttpModulesSection.cs
- ClientSession.cs
- PackageRelationshipCollection.cs
- ExternalException.cs
- ExceptionRoutedEventArgs.cs
- CqlParser.cs
- DefaultHttpHandler.cs
- GenericRootAutomationPeer.cs
- Triangle.cs
- PrivilegedConfigurationManager.cs
- ServiceHostFactory.cs
- mongolianshape.cs
- MetadataUtil.cs
- BinaryConverter.cs
- FontStyleConverter.cs
- LingerOption.cs
- TraversalRequest.cs
- WindowsGrip.cs
- SoapObjectReader.cs
- SigningCredentials.cs
- CurrentTimeZone.cs
- CatalogPart.cs
- XNodeNavigator.cs
- SystemIPGlobalStatistics.cs
- EntityDataSourceDataSelection.cs
- WebPartAuthorizationEventArgs.cs
- SafeRightsManagementPubHandle.cs
- SmtpReplyReaderFactory.cs
- RuntimeHandles.cs
- SqlMethodCallConverter.cs
- Filter.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- XmlExceptionHelper.cs
- ReadWriteControlDesigner.cs
- ActivityMarkupSerializationProvider.cs
- MachinePropertyVariants.cs
- WebPartMinimizeVerb.cs
- TraceSection.cs
- XmlWrappingWriter.cs
- Serializer.cs
- UrlMapping.cs
- PriorityBinding.cs
- RightsManagementPermission.cs
- TemplatedMailWebEventProvider.cs
- PagerSettings.cs
- RadioButtonRenderer.cs
- FormatSettings.cs
- XPathDocumentIterator.cs
- TemplateAction.cs
- WindowsToolbarItemAsMenuItem.cs
- JournalNavigationScope.cs
- UrlAuthFailedErrorFormatter.cs
- VirtualizingPanel.cs
- InheritanceContextChangedEventManager.cs
- ObjectTag.cs
- StackSpiller.Generated.cs
- OrderedDictionary.cs
- Vector3DAnimationBase.cs
- BamlReader.cs
- EventSinkHelperWriter.cs
- SrgsGrammar.cs
- JsonWriterDelegator.cs
- localization.cs
- XmlDataSource.cs
- translator.cs
- VisualBrush.cs
- X509Certificate2.cs
- XmlSecureResolver.cs
- XsdDataContractExporter.cs
- TextBox.cs
- ConversionContext.cs
- UInt16.cs
- XmlTextAttribute.cs
- SubMenuStyle.cs
- documentsequencetextcontainer.cs
- XsdDateTime.cs
- Serializer.cs
- DragDrop.cs
- FunctionNode.cs
- Switch.cs
- CallContext.cs
- XsltException.cs
- XmlRootAttribute.cs
- SamlAssertion.cs
- DtdParser.cs
- XpsViewerException.cs
- CharacterBuffer.cs
- TableDetailsCollection.cs
- Documentation.cs
- ValidatorCollection.cs
- DbConnectionPoolIdentity.cs
- ToggleButtonAutomationPeer.cs
- DataSourceHelper.cs
- CellRelation.cs
- AttachedAnnotation.cs
- SqlVisitor.cs
- SessionParameter.cs
- QueryProcessor.cs
- _TLSstream.cs
- DataGridColumnCollection.cs