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;
///
/// 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.
//------------------------------------------------------------------------------
//
// 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
- ToolBar.cs
- TrustDriver.cs
- StorageAssociationSetMapping.cs
- AnnotationResourceCollection.cs
- BindingList.cs
- CodeChecksumPragma.cs
- PropertyMap.cs
- hresults.cs
- PolyLineSegment.cs
- NameSpaceEvent.cs
- CookieParameter.cs
- Vector3DCollection.cs
- ScrollData.cs
- WebPartConnectionsConfigureVerb.cs
- AxisAngleRotation3D.cs
- ProcessModelSection.cs
- IOThreadScheduler.cs
- SecurityKeyEntropyMode.cs
- XomlCompilerParameters.cs
- EnumValAlphaComparer.cs
- CorrelationResolver.cs
- ForeignKeyFactory.cs
- IisNotInstalledException.cs
- SqlTriggerContext.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ExternalFile.cs
- TcpStreams.cs
- TokenBasedSet.cs
- ArrayMergeHelper.cs
- Table.cs
- IsolatedStoragePermission.cs
- Converter.cs
- SqlErrorCollection.cs
- Delay.cs
- DataGridViewRowHeaderCell.cs
- BaseAutoFormat.cs
- CacheForPrimitiveTypes.cs
- DocumentSchemaValidator.cs
- MediaContextNotificationWindow.cs
- BitmapCodecInfo.cs
- WebPartHeaderCloseVerb.cs
- RequestBringIntoViewEventArgs.cs
- TextSegment.cs
- IODescriptionAttribute.cs
- MobileListItemCollection.cs
- BindingCompleteEventArgs.cs
- KerberosSecurityTokenProvider.cs
- CorrelationToken.cs
- TemplatePagerField.cs
- TypefaceCollection.cs
- SubstitutionList.cs
- TdsValueSetter.cs
- Privilege.cs
- StylusPointDescription.cs
- SqlDataSourceCache.cs
- UpdateTranslator.cs
- StringArrayConverter.cs
- ServiceHttpHandlerFactory.cs
- RepeatButtonAutomationPeer.cs
- FederatedMessageSecurityOverHttpElement.cs
- ClrPerspective.cs
- SQLMembershipProvider.cs
- ContentFileHelper.cs
- OutputScopeManager.cs
- NumericUpDownAccelerationCollection.cs
- TextServicesContext.cs
- ChannelCacheDefaults.cs
- Calendar.cs
- GeometryGroup.cs
- ApplicationSecurityInfo.cs
- DataGridViewRowsRemovedEventArgs.cs
- VisualBrush.cs
- StaticExtension.cs
- String.cs
- EventArgs.cs
- SerialStream.cs
- SeparatorAutomationPeer.cs
- Directory.cs
- GridViewUpdatedEventArgs.cs
- SessionSwitchEventArgs.cs
- ScrollChrome.cs
- HtmlInputText.cs
- SelectionGlyph.cs
- ClientSettingsStore.cs
- PassportAuthenticationEventArgs.cs
- CompModHelpers.cs
- IChannel.cs
- EnglishPluralizationService.cs
- WrappedIUnknown.cs
- ConfigXmlElement.cs
- BindingNavigatorDesigner.cs
- PageTrueTypeFont.cs
- FontConverter.cs
- EmptyStringExpandableObjectConverter.cs
- StylusPoint.cs
- IsolatedStoragePermission.cs
- ServiceModelSecurityTokenRequirement.cs
- MD5CryptoServiceProvider.cs
- ProfileParameter.cs
- ObjectDataSourceFilteringEventArgs.cs