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
- Vector3dCollection.cs
- WindowsAuthenticationEventArgs.cs
- StateMachine.cs
- TypeDescriptionProviderAttribute.cs
- ParameterElementCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- KnownBoxes.cs
- CompilerErrorCollection.cs
- ImageButton.cs
- StatusBar.cs
- Point3DValueSerializer.cs
- SettingsAttributes.cs
- XMLSchema.cs
- PropertyEntry.cs
- SpeakProgressEventArgs.cs
- GridViewPageEventArgs.cs
- ImportCatalogPart.cs
- ExternalException.cs
- EventManager.cs
- ContextStack.cs
- BindingMAnagerBase.cs
- PassportAuthenticationModule.cs
- DataGridViewButtonCell.cs
- DataGridViewColumnCollectionEditor.cs
- Bits.cs
- SqlProviderManifest.cs
- path.cs
- LineVisual.cs
- Statements.cs
- SendMailErrorEventArgs.cs
- IProducerConsumerCollection.cs
- FunctionDescription.cs
- ObjectDataSourceEventArgs.cs
- DeleteHelper.cs
- XmlSignificantWhitespace.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CollectionChangedEventManager.cs
- ObjectTypeMapping.cs
- VolatileEnlistmentState.cs
- Comparer.cs
- NonParentingControl.cs
- DbDataSourceEnumerator.cs
- SystemFonts.cs
- OracleString.cs
- QueryOpeningEnumerator.cs
- MLangCodePageEncoding.cs
- TrueReadOnlyCollection.cs
- WsatConfiguration.cs
- input.cs
- HtmlForm.cs
- ReferenceConverter.cs
- TlsSspiNegotiation.cs
- CodeCatchClause.cs
- HostingMessageProperty.cs
- CursorConverter.cs
- KeyPressEvent.cs
- StateManagedCollection.cs
- CurrencyWrapper.cs
- TextEditorDragDrop.cs
- HtmlWindowCollection.cs
- DomainConstraint.cs
- SynchronizationLockException.cs
- Int64Animation.cs
- TaskSchedulerException.cs
- InternalControlCollection.cs
- ISCIIEncoding.cs
- EpmSyndicationContentSerializer.cs
- TextSelectionHighlightLayer.cs
- DeploymentSectionCache.cs
- Track.cs
- BitmapEffectGroup.cs
- StackOverflowException.cs
- DecoderBestFitFallback.cs
- Html32TextWriter.cs
- BufferedReadStream.cs
- COM2PictureConverter.cs
- CryptoApi.cs
- PropVariant.cs
- SendMailErrorEventArgs.cs
- xml.cs
- RepeaterItemCollection.cs
- DependencyObjectType.cs
- HttpHandlerAction.cs
- MultilineStringEditor.cs
- RectConverter.cs
- NonDualMessageSecurityOverHttp.cs
- DecimalSumAggregationOperator.cs
- BrowserCapabilitiesFactory.cs
- GridViewSortEventArgs.cs
- GridEntryCollection.cs
- SqlReferenceCollection.cs
- HelpProvider.cs
- LayoutEvent.cs
- Panel.cs
- KeyValuePairs.cs
- ZipIORawDataFileBlock.cs
- RequestCache.cs
- WebColorConverter.cs
- CheckBoxRenderer.cs
- WindowsEditBoxRange.cs