Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
}
}
}
}
// 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
- PersistChildrenAttribute.cs
- EncodingTable.cs
- ParentQuery.cs
- RelationshipFixer.cs
- ArgumentException.cs
- FontNamesConverter.cs
- NativeMethods.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- DataConnectionHelper.cs
- PostBackTrigger.cs
- BoolExpression.cs
- SortDescription.cs
- SQLBinaryStorage.cs
- IPAddress.cs
- URL.cs
- SapiGrammar.cs
- StrokeSerializer.cs
- WeakEventTable.cs
- ViewStateModeByIdAttribute.cs
- SimpleApplicationHost.cs
- RootBrowserWindowProxy.cs
- DataGridViewCellMouseEventArgs.cs
- UserUseLicenseDictionaryLoader.cs
- TraceHandler.cs
- EdmTypeAttribute.cs
- SpeakCompletedEventArgs.cs
- CatalogPart.cs
- QuadraticBezierSegment.cs
- SplitterCancelEvent.cs
- WebPartTransformer.cs
- TextTreeUndoUnit.cs
- ResourceManager.cs
- EntryIndex.cs
- IntegerValidator.cs
- HwndSourceParameters.cs
- BeginStoryboard.cs
- _NTAuthentication.cs
- HashCryptoHandle.cs
- WebPartMenu.cs
- ProfileParameter.cs
- CallSiteHelpers.cs
- DebugView.cs
- _RegBlobWebProxyDataBuilder.cs
- XmlSchemaObject.cs
- DbParameterHelper.cs
- XhtmlBasicLiteralTextAdapter.cs
- InstanceData.cs
- SelectionListDesigner.cs
- StandardCommandToolStripMenuItem.cs
- ConnectionsZoneAutoFormat.cs
- GridViewRow.cs
- OverlappedAsyncResult.cs
- ToolStripRenderEventArgs.cs
- Item.cs
- FixedTextView.cs
- ISessionStateStore.cs
- ThousandthOfEmRealPoints.cs
- ExtenderProviderService.cs
- future.cs
- BaseComponentEditor.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- TimeoutException.cs
- XmlSchemaElement.cs
- ContentPosition.cs
- ResolveResponseInfo.cs
- OleDbRowUpdatedEvent.cs
- UpdateTracker.cs
- SlotInfo.cs
- ConnectionStringSettings.cs
- ArithmeticException.cs
- TdsParserStaticMethods.cs
- NativeRightsManagementAPIsStructures.cs
- ProxyGenerationError.cs
- SemaphoreFullException.cs
- securitycriticaldataClass.cs
- TdsParameterSetter.cs
- DataTransferEventArgs.cs
- Hashtable.cs
- DrawingBrush.cs
- ApplicationCommands.cs
- InstanceLockException.cs
- DependencyProperty.cs
- TableCellAutomationPeer.cs
- TypeConverterHelper.cs
- Fx.cs
- SimpleWebHandlerParser.cs
- EdmFunctions.cs
- AttachedAnnotation.cs
- SqlReferenceCollection.cs
- AttributeQuery.cs
- OrderedDictionary.cs
- WindowInteractionStateTracker.cs
- StreamReader.cs
- OracleParameter.cs
- Tuple.cs
- TableCellCollection.cs
- FactoryGenerator.cs
- Evidence.cs
- XhtmlMobileTextWriter.cs
- NegatedCellConstant.cs