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
- XmlSchemaCollection.cs
- ProviderConnectionPoint.cs
- Route.cs
- DebugHandleTracker.cs
- ConnectionPointCookie.cs
- SiteIdentityPermission.cs
- StringComparer.cs
- FacetValueContainer.cs
- ColorContextHelper.cs
- LowerCaseStringConverter.cs
- TypeExtensionConverter.cs
- Rect3DValueSerializer.cs
- DataListItemCollection.cs
- AnnotationMap.cs
- TableLayoutCellPaintEventArgs.cs
- RecordManager.cs
- TreeViewImageKeyConverter.cs
- DataGridViewRowCancelEventArgs.cs
- UserControl.cs
- UnsafeNativeMethods.cs
- DocumentViewerBase.cs
- unsafeIndexingFilterStream.cs
- Range.cs
- RowTypeElement.cs
- WorkflowQueuingService.cs
- GifBitmapEncoder.cs
- XPathExpr.cs
- GraphicsPath.cs
- InfoCardBaseException.cs
- ScalarType.cs
- Vector3DAnimationUsingKeyFrames.cs
- BaseParser.cs
- ValidateNames.cs
- TemplateControlBuildProvider.cs
- RegexCompilationInfo.cs
- ConnectionStringsExpressionBuilder.cs
- ContextActivityUtils.cs
- ComPlusContractBehavior.cs
- xmlglyphRunInfo.cs
- TouchesCapturedWithinProperty.cs
- CookieHandler.cs
- ProtocolsInstallComponent.cs
- WebDescriptionAttribute.cs
- InkCanvasSelectionAdorner.cs
- ResponseStream.cs
- XmlIgnoreAttribute.cs
- DataControlFieldCell.cs
- WizardSideBarListControlItem.cs
- PartManifestEntry.cs
- ResourceDescriptionAttribute.cs
- WindowsSecurityToken.cs
- Classification.cs
- DuplicateWaitObjectException.cs
- AlphaSortedEnumConverter.cs
- FlowDocumentScrollViewer.cs
- MD5.cs
- AlternateView.cs
- LoaderAllocator.cs
- InteropTrackingRecord.cs
- cache.cs
- RSAPKCS1SignatureDeformatter.cs
- Point.cs
- Positioning.cs
- RewritingPass.cs
- PinnedBufferMemoryStream.cs
- ResourceReader.cs
- PriorityQueue.cs
- SqlDataSourceCommandParser.cs
- DataPagerFieldItem.cs
- CopyOfAction.cs
- VectorCollection.cs
- SqlDependencyUtils.cs
- EntityDataSourceViewSchema.cs
- Repeater.cs
- RuntimeVariableList.cs
- ProviderConnectionPoint.cs
- ScrollBarAutomationPeer.cs
- WasEndpointConfigContainer.cs
- GridViewRowCollection.cs
- SimpleHandlerBuildProvider.cs
- OpacityConverter.cs
- HTMLTextWriter.cs
- AmbientEnvironment.cs
- DetailsViewCommandEventArgs.cs
- SqlStatistics.cs
- DBDataPermission.cs
- DataGridViewCellStyle.cs
- DirectionalAction.cs
- WaitHandleCannotBeOpenedException.cs
- CharAnimationUsingKeyFrames.cs
- XsltCompileContext.cs
- CookieParameter.cs
- ResourceExpressionEditor.cs
- FormViewPageEventArgs.cs
- ResourcesChangeInfo.cs
- GorillaCodec.cs
- EventItfInfo.cs
- SoapRpcServiceAttribute.cs
- StyleXamlParser.cs
- XamlPathDataSerializer.cs