Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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;
///
/// 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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MULTI_QI.cs
- Style.cs
- Model3D.cs
- InstanceHandleConflictException.cs
- QilFunction.cs
- CharacterBuffer.cs
- AutomationIdentifierGuids.cs
- Int32CollectionConverter.cs
- IODescriptionAttribute.cs
- AtomMaterializer.cs
- BamlBinaryReader.cs
- UriTemplateVariablePathSegment.cs
- CompilationSection.cs
- SamlNameIdentifierClaimResource.cs
- HashSetDebugView.cs
- DispatcherOperation.cs
- UnsafeNetInfoNativeMethods.cs
- TraceFilter.cs
- ServiceDebugBehavior.cs
- ScrollItemProviderWrapper.cs
- ServiceHost.cs
- ToolZone.cs
- LinqDataSourceInsertEventArgs.cs
- ProcessModelInfo.cs
- LineBreak.cs
- DbProviderFactory.cs
- GradientSpreadMethodValidation.cs
- Size3DValueSerializer.cs
- PatternMatchRules.cs
- MembershipValidatePasswordEventArgs.cs
- WebMessageEncodingBindingElement.cs
- ConnectionConsumerAttribute.cs
- SecurityElement.cs
- EventEntry.cs
- APCustomTypeDescriptor.cs
- ColumnPropertiesGroup.cs
- SevenBitStream.cs
- EnterpriseServicesHelper.cs
- CellTreeNode.cs
- TableProviderWrapper.cs
- TextureBrush.cs
- QueryStringParameter.cs
- XmlSchemaAppInfo.cs
- CellIdBoolean.cs
- ObjectDataSourceSelectingEventArgs.cs
- NativeMethods.cs
- WebPartDisplayModeCollection.cs
- DragDropHelper.cs
- ToolboxItemLoader.cs
- TextEffectResolver.cs
- Peer.cs
- ModifierKeysConverter.cs
- GeometryConverter.cs
- DataListItemCollection.cs
- DefaultMemberAttribute.cs
- PointConverter.cs
- WpfXamlType.cs
- CorrelationActionMessageFilter.cs
- Random.cs
- FragmentQueryProcessor.cs
- DefaultAsyncDataDispatcher.cs
- Monitor.cs
- PlanCompilerUtil.cs
- WinFormsSecurity.cs
- DataRowExtensions.cs
- GeneralTransformGroup.cs
- StateWorkerRequest.cs
- PeerName.cs
- IntSecurity.cs
- _TLSstream.cs
- documentsequencetextview.cs
- FaultContractAttribute.cs
- NavigationFailedEventArgs.cs
- PrtTicket_Public_Simple.cs
- PersonalizationEntry.cs
- documentsequencetextcontainer.cs
- CodeConstructor.cs
- DataGridItemCollection.cs
- SBCSCodePageEncoding.cs
- AdornerDecorator.cs
- SqlRecordBuffer.cs
- DependencyProperty.cs
- ListView.cs
- XDRSchema.cs
- UshortList2.cs
- WindowsPen.cs
- FixedDocumentSequencePaginator.cs
- Focus.cs
- TransactedBatchingElement.cs
- WebControlAdapter.cs
- DashStyle.cs
- ReceiveReply.cs
- InvalidDataException.cs
- TraceContextRecord.cs
- DependencyObjectProvider.cs
- Native.cs
- WindowsFormsLinkLabel.cs
- BindingSourceDesigner.cs
- CreateUserErrorEventArgs.cs
- RulePatternOps.cs