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
- ParseChildrenAsPropertiesAttribute.cs
- PropertyChangedEventArgs.cs
- TextTreeRootNode.cs
- GridViewDeleteEventArgs.cs
- CodeTypeConstructor.cs
- FontNamesConverter.cs
- WsatConfiguration.cs
- WorkflowView.cs
- ToolBar.cs
- SystemResourceKey.cs
- BeginEvent.cs
- CacheOutputQuery.cs
- ErrorFormatter.cs
- StateRuntime.cs
- DiscoveryDocument.cs
- StrokeNodeEnumerator.cs
- ActivityExecutorSurrogate.cs
- ResourcePart.cs
- SizeIndependentAnimationStorage.cs
- ObjectListCommandsPage.cs
- SmiSettersStream.cs
- ValidatorCompatibilityHelper.cs
- LineBreak.cs
- ContentPresenter.cs
- SyndicationElementExtensionCollection.cs
- TreeNodeCollection.cs
- MobileControlsSectionHandler.cs
- WebConfigurationHostFileChange.cs
- PersonalizationProviderCollection.cs
- PropertyInformation.cs
- EdgeProfileValidation.cs
- InteropAutomationProvider.cs
- TextPointerBase.cs
- TextLine.cs
- PointCollection.cs
- XsdBuildProvider.cs
- HierarchicalDataSourceControl.cs
- LifetimeServices.cs
- TypeSemantics.cs
- TdsParserStaticMethods.cs
- ListViewGroup.cs
- PageContentCollection.cs
- EnumConverter.cs
- DrawingContextDrawingContextWalker.cs
- Comparer.cs
- DesignerMetadata.cs
- Tool.cs
- ASCIIEncoding.cs
- PageThemeParser.cs
- ToolStripContentPanel.cs
- BooleanAnimationBase.cs
- XpsFontSubsetter.cs
- MultiSelectRootGridEntry.cs
- XDeferredAxisSource.cs
- SynchronizedInputPattern.cs
- LabelLiteral.cs
- DefaultValidator.cs
- ProgressBar.cs
- ChangePassword.cs
- FileDialogPermission.cs
- ClientConfigurationSystem.cs
- SafeReadContext.cs
- TextBounds.cs
- HttpWebRequestElement.cs
- SQLInt64.cs
- TagMapCollection.cs
- BehaviorDragDropEventArgs.cs
- NullableFloatAverageAggregationOperator.cs
- ProfileParameter.cs
- MobileControlsSection.cs
- SQLInt32Storage.cs
- DeploymentExceptionMapper.cs
- DocumentViewerBase.cs
- TextureBrush.cs
- ObjectQueryState.cs
- Activity.cs
- FixedSOMFixedBlock.cs
- PerformanceCounterLib.cs
- ToolStripSettings.cs
- BaseContextMenu.cs
- SmtpReplyReaderFactory.cs
- NotifyCollectionChangedEventArgs.cs
- DataGridTextColumn.cs
- PathData.cs
- Array.cs
- DataGridTextBoxColumn.cs
- DocobjHost.cs
- AdministrationHelpers.cs
- ComplexObject.cs
- CLRBindingWorker.cs
- CryptoApi.cs
- EntityObject.cs
- DesignSurfaceServiceContainer.cs
- HttpCacheVaryByContentEncodings.cs
- SecurityHelper.cs
- handlecollector.cs
- UserControl.cs
- TransformDescriptor.cs
- WorkflowInstanceProvider.cs
- RecordBuilder.cs