Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class DataGridCommandEventArgs : CommandEventArgs {
private DataGridItem item;
private object commandSource;
///
/// Initializes a new instance of the
/// class.
///
public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this.item = item;
this.commandSource = commandSource;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return commandSource;
}
}
///
/// Gets the item in the that was clicked. This property is read-only.
///
public DataGridItem Item {
get {
return item;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlWrappingReader.cs
- PasswordBox.cs
- AddressHeaderCollectionElement.cs
- HttpRuntime.cs
- Floater.cs
- FileDialog_Vista.cs
- HelpEvent.cs
- ColorConverter.cs
- NativeMethods.cs
- ShaderRenderModeValidation.cs
- TableDetailsRow.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- RootBrowserWindow.cs
- TransformGroup.cs
- CodeBlockBuilder.cs
- TextFormatterHost.cs
- DataSourceSerializationException.cs
- ToolboxComponentsCreatedEventArgs.cs
- DataPagerFieldCollection.cs
- ConfigXmlSignificantWhitespace.cs
- ClassicBorderDecorator.cs
- SecurityBindingElementImporter.cs
- CopyCodeAction.cs
- Stopwatch.cs
- Int64Animation.cs
- ValidationError.cs
- CrossAppDomainChannel.cs
- ReflectionTypeLoadException.cs
- HtmlFormWrapper.cs
- SqlConnectionHelper.cs
- WebPartDeleteVerb.cs
- GeneralTransform3D.cs
- Stacktrace.cs
- DataGridViewComponentPropertyGridSite.cs
- AmbiguousMatchException.cs
- StatusBarDesigner.cs
- InputScopeNameConverter.cs
- Native.cs
- ResXResourceWriter.cs
- ColorConverter.cs
- AccessedThroughPropertyAttribute.cs
- Assert.cs
- XmlCharType.cs
- AssemblyLoader.cs
- GridViewColumnCollectionChangedEventArgs.cs
- VerificationException.cs
- __FastResourceComparer.cs
- Pair.cs
- Button.cs
- ButtonField.cs
- StrokeRenderer.cs
- LinearQuaternionKeyFrame.cs
- HttpModulesSection.cs
- FrameworkRichTextComposition.cs
- InvalidPrinterException.cs
- Perspective.cs
- CfgParser.cs
- ping.cs
- Command.cs
- IncomingWebResponseContext.cs
- SqlGenerator.cs
- _ListenerResponseStream.cs
- Point.cs
- DBSqlParserColumn.cs
- TextEditorLists.cs
- DefaultBinder.cs
- Symbol.cs
- RIPEMD160.cs
- ColumnMapVisitor.cs
- SmiXetterAccessMap.cs
- TableProviderWrapper.cs
- ExecutionContext.cs
- UpDownBase.cs
- FastPropertyAccessor.cs
- BasicHttpBindingElement.cs
- Binding.cs
- SimpleType.cs
- Subset.cs
- TreeViewItem.cs
- SrgsToken.cs
- ForwardPositionQuery.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ListViewCommandEventArgs.cs
- DateTimeFormatInfoScanner.cs
- UnsignedPublishLicense.cs
- Token.cs
- TextTreeTextBlock.cs
- CountAggregationOperator.cs
- AutoCompleteStringCollection.cs
- ProgressBarHighlightConverter.cs
- AttributeCollection.cs
- SafeCertificateStore.cs
- DotAtomReader.cs
- IODescriptionAttribute.cs
- CollectionEditVerbManager.cs
- StorageEntitySetMapping.cs
- LazyLoadBehavior.cs
- TextChange.cs
- HtmlElementCollection.cs
- WmpBitmapEncoder.cs