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
- ContainerControl.cs
- DirectoryObjectSecurity.cs
- MdiWindowListItemConverter.cs
- MimeMapping.cs
- InheritanceService.cs
- ContentHostHelper.cs
- DBCSCodePageEncoding.cs
- PerformanceCounterManager.cs
- MsmqReceiveHelper.cs
- AppDomainFactory.cs
- QueryOperatorEnumerator.cs
- _DigestClient.cs
- RelatedPropertyManager.cs
- followingsibling.cs
- RenderDataDrawingContext.cs
- FixedSOMTextRun.cs
- DataReaderContainer.cs
- TimeZone.cs
- TrustLevelCollection.cs
- ParenthesizePropertyNameAttribute.cs
- XmlSchemaAttributeGroup.cs
- DataGridRowClipboardEventArgs.cs
- WindowManager.cs
- MimeMultiPart.cs
- StaticFileHandler.cs
- MatrixTransform3D.cs
- WebSysDisplayNameAttribute.cs
- ViewGenerator.cs
- CfgSemanticTag.cs
- MailAddress.cs
- VScrollProperties.cs
- ProxyFragment.cs
- CodeArrayIndexerExpression.cs
- PathGradientBrush.cs
- ErrorWebPart.cs
- Typeface.cs
- DbProviderConfigurationHandler.cs
- ReadOnlyCollection.cs
- Policy.cs
- BitStream.cs
- StringBuilder.cs
- StylusPointPropertyUnit.cs
- HttpCapabilitiesBase.cs
- Convert.cs
- MimeParameterWriter.cs
- ProcessHostConfigUtils.cs
- NativeMethods.cs
- HttpFileCollection.cs
- PreloadedPackages.cs
- PropertyReferenceExtension.cs
- AuthenticationModuleElementCollection.cs
- KnownBoxes.cs
- RegexCode.cs
- HtmlForm.cs
- ContentIterators.cs
- ExceptionCollection.cs
- TdsParserHelperClasses.cs
- ByteStreamBufferedMessageData.cs
- SharedPersonalizationStateInfo.cs
- GrammarBuilderDictation.cs
- ChannelHandler.cs
- DataGridViewUtilities.cs
- XPathAncestorIterator.cs
- CursorInteropHelper.cs
- ChildrenQuery.cs
- Pens.cs
- __FastResourceComparer.cs
- DataSourceCollectionBase.cs
- _IPv4Address.cs
- ModelPerspective.cs
- MergeFailedEvent.cs
- DebuggerAttributes.cs
- MemberInfoSerializationHolder.cs
- CornerRadius.cs
- NativeMethods.cs
- Image.cs
- HtmlTable.cs
- ObjectDataProvider.cs
- UnsettableComboBox.cs
- SamlAudienceRestrictionCondition.cs
- SafeFileMappingHandle.cs
- BindingParameterCollection.cs
- DbConvert.cs
- DeviceOverridableAttribute.cs
- ServiceDocumentFormatter.cs
- FormView.cs
- Transform3DCollection.cs
- StrongNameUtility.cs
- TTSEngineProxy.cs
- BStrWrapper.cs
- Matrix.cs
- TaiwanLunisolarCalendar.cs
- BasicViewGenerator.cs
- CellRelation.cs
- HostVisual.cs
- TemplateLookupAction.cs
- ClientBuildManager.cs
- FormViewDeleteEventArgs.cs
- WebPartVerb.cs
- ToolStripLabel.cs