Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1 / GridViewCommandEventArgs.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 GridViewCommandEventArgs : CommandEventArgs {
private GridViewRow _row;
private object _commandSource;
///
/// Initializes a new instance of the
/// class.
///
public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._row = row;
this._commandSource = commandSource;
}
///
/// Initializes a new instance of the
/// class.
///
public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this._commandSource = commandSource;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return _commandSource;
}
}
///
/// Gets the row in the that was clicked. This property is read-only.
///
internal GridViewRow Row {
get {
return _row;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ThreadInterruptedException.cs
- AnimationException.cs
- HierarchicalDataTemplate.cs
- TabControl.cs
- DataObjectMethodAttribute.cs
- DataSetUtil.cs
- CodeTypeMemberCollection.cs
- ZipFileInfo.cs
- AccessDataSource.cs
- ProgressiveCrcCalculatingStream.cs
- MultiPropertyDescriptorGridEntry.cs
- WebUtil.cs
- XsltLibrary.cs
- UnsafePeerToPeerMethods.cs
- HttpRuntime.cs
- InputManager.cs
- SafeProcessHandle.cs
- XPathChildIterator.cs
- DetailsViewInsertedEventArgs.cs
- FlowDocumentView.cs
- ThicknessKeyFrameCollection.cs
- ObjectSpanRewriter.cs
- Wildcard.cs
- Stroke.cs
- SafeFileHandle.cs
- Size.cs
- FormViewActionList.cs
- Soap.cs
- DispatcherFrame.cs
- GrammarBuilder.cs
- NullReferenceException.cs
- OracleBFile.cs
- WsatTransactionInfo.cs
- ContextMenuService.cs
- TriggerBase.cs
- SchemaImporterExtension.cs
- QuaternionAnimation.cs
- IISMapPath.cs
- TimelineCollection.cs
- MenuCommands.cs
- UnSafeCharBuffer.cs
- XmlName.cs
- ListView.cs
- ProfileModule.cs
- NameTable.cs
- CallbackValidatorAttribute.cs
- BulletDecorator.cs
- MetadataExporter.cs
- TrackingProfile.cs
- Scanner.cs
- EventPrivateKey.cs
- SQLRoleProvider.cs
- ItemsControlAutomationPeer.cs
- XmlAnyElementAttribute.cs
- precedingsibling.cs
- FileDialog_Vista_Interop.cs
- DateTimeValueSerializerContext.cs
- DataGridViewControlCollection.cs
- InfoCardCryptoHelper.cs
- Metafile.cs
- TreeViewImageIndexConverter.cs
- SqlPersonalizationProvider.cs
- WebControl.cs
- UserInitiatedNavigationPermission.cs
- MailHeaderInfo.cs
- ThousandthOfEmRealPoints.cs
- DesignerTransaction.cs
- ParameterModifier.cs
- List.cs
- DataObjectSettingDataEventArgs.cs
- ContentPresenter.cs
- RuntimeHandles.cs
- Window.cs
- LineVisual.cs
- NameValueFileSectionHandler.cs
- ReflectPropertyDescriptor.cs
- ThemeDictionaryExtension.cs
- GlobalProxySelection.cs
- AnnouncementInnerClient11.cs
- WebServiceFaultDesigner.cs
- SwitchLevelAttribute.cs
- SafeCryptoHandles.cs
- IpcManager.cs
- RemotingException.cs
- ToolStripSettings.cs
- CodeIdentifiers.cs
- DesignerForm.cs
- ProtocolReflector.cs
- Sql8ConformanceChecker.cs
- OdbcParameterCollection.cs
- Facet.cs
- DocumentOrderQuery.cs
- BorderSidesEditor.cs
- AnimationStorage.cs
- SerializationAttributes.cs
- UnionCodeGroup.cs
- XmlNamespaceManager.cs
- X509ClientCertificateCredentialsElement.cs
- ScalarRestriction.cs
- FacetEnabledSchemaElement.cs