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
- AdornerHitTestResult.cs
- PathFigure.cs
- XPathException.cs
- DebugHandleTracker.cs
- DoubleLink.cs
- PathGeometry.cs
- CodeAttributeArgumentCollection.cs
- StrictAndMessageFilter.cs
- ResolveCriteria11.cs
- CssStyleCollection.cs
- AutoGeneratedFieldProperties.cs
- SmiContext.cs
- NetTcpSecurity.cs
- Convert.cs
- SoapMessage.cs
- GreenMethods.cs
- TextBox.cs
- NamespaceTable.cs
- MenuItem.cs
- HelpInfo.cs
- DataObjectPastingEventArgs.cs
- EditableRegion.cs
- SignatureDescription.cs
- DesignerOptionService.cs
- PingOptions.cs
- Globals.cs
- ClientCultureInfo.cs
- SHA384.cs
- ResourceCodeDomSerializer.cs
- DocumentGridPage.cs
- ItemsControlAutomationPeer.cs
- Error.cs
- FontStretches.cs
- SynchronizedInputHelper.cs
- MetadataArtifactLoaderResource.cs
- CodeTypeOfExpression.cs
- SystemColorTracker.cs
- DataReaderContainer.cs
- CriticalHandle.cs
- NativeMethodsCLR.cs
- ConfigurationStrings.cs
- IPHostEntry.cs
- PatternMatchRules.cs
- PrivateFontCollection.cs
- HttpContext.cs
- PrivateFontCollection.cs
- HtmlFormWrapper.cs
- CustomCategoryAttribute.cs
- DataBindingHandlerAttribute.cs
- HintTextMaxWidthConverter.cs
- QueryCacheEntry.cs
- SafeHandles.cs
- EventItfInfo.cs
- ControlPropertyNameConverter.cs
- ReliableChannelBinder.cs
- ConfigurationLocation.cs
- RenderContext.cs
- SqlCacheDependencySection.cs
- SslStream.cs
- DataTableTypeConverter.cs
- XmlSchemaComplexContent.cs
- RightsManagementUser.cs
- ScrollBarRenderer.cs
- Grid.cs
- ProvideValueServiceProvider.cs
- CheckBox.cs
- ApplicationSettingsBase.cs
- XamlToRtfWriter.cs
- TreeViewHitTestInfo.cs
- HtmlInputCheckBox.cs
- ConfigurationProperty.cs
- ListViewInsertionMark.cs
- TogglePattern.cs
- HandlerFactoryWrapper.cs
- SimpleWebHandlerParser.cs
- SafeArrayTypeMismatchException.cs
- WebAdminConfigurationHelper.cs
- ListControl.cs
- SqlDataReaderSmi.cs
- xmlformatgeneratorstatics.cs
- MasterPage.cs
- DesignDataSource.cs
- TypeListConverter.cs
- XamlPointCollectionSerializer.cs
- MemberDescriptor.cs
- SqlRowUpdatingEvent.cs
- HttpModule.cs
- Span.cs
- MinimizableAttributeTypeConverter.cs
- CharEntityEncoderFallback.cs
- InstancePersistenceCommandException.cs
- ColumnMapVisitor.cs
- MenuBindingsEditorForm.cs
- SuspendDesigner.cs
- CodeDOMUtility.cs
- BitmapSizeOptions.cs
- WebPartZoneBase.cs
- InputLanguage.cs
- ServiceHostingEnvironmentSection.cs
- DummyDataSource.cs