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
- ByteConverter.cs
- DbInsertCommandTree.cs
- RoutedEventValueSerializer.cs
- TabletCollection.cs
- BypassElement.cs
- UriSectionData.cs
- ParallelTimeline.cs
- DelegateHelpers.Generated.cs
- TransformProviderWrapper.cs
- ImplicitInputBrush.cs
- JsonClassDataContract.cs
- MultiTrigger.cs
- ProgressiveCrcCalculatingStream.cs
- SamlDoNotCacheCondition.cs
- LineSegment.cs
- HMACSHA512.cs
- SoapFormatExtensions.cs
- RemoteWebConfigurationHost.cs
- Int16KeyFrameCollection.cs
- WebScriptServiceHost.cs
- EraserBehavior.cs
- HttpRequestWrapper.cs
- ChameleonKey.cs
- Validator.cs
- PermissionSetEnumerator.cs
- ProcessProtocolHandler.cs
- MemoryFailPoint.cs
- ProxyFragment.cs
- Image.cs
- ToolZone.cs
- CodeEventReferenceExpression.cs
- ToolboxDataAttribute.cs
- TableSectionStyle.cs
- EmbossBitmapEffect.cs
- SelectionEditor.cs
- XmlSchemaObjectCollection.cs
- DescendantQuery.cs
- DbTransaction.cs
- XmlTextReaderImplHelpers.cs
- AuthStoreRoleProvider.cs
- MSAANativeProvider.cs
- ServerValidateEventArgs.cs
- HtmlTableCell.cs
- ResourceReferenceExpressionConverter.cs
- PreProcessInputEventArgs.cs
- SqlServer2KCompatibilityAnnotation.cs
- XmlSignatureManifest.cs
- CapiHashAlgorithm.cs
- StringUtil.cs
- JavaScriptObjectDeserializer.cs
- AncillaryOps.cs
- TemplateXamlParser.cs
- QueryExtender.cs
- MenuItemCollection.cs
- AdapterDictionary.cs
- AuthenticationModuleElementCollection.cs
- EnumUnknown.cs
- ToolStripLabel.cs
- InheritedPropertyDescriptor.cs
- WebBrowserUriTypeConverter.cs
- StringSorter.cs
- DataSetMappper.cs
- WebPartMovingEventArgs.cs
- BitmapEffectrendercontext.cs
- SQLDouble.cs
- Model3DCollection.cs
- ReadOnlyHierarchicalDataSource.cs
- PagerStyle.cs
- XamlPathDataSerializer.cs
- AutomationEventArgs.cs
- OLEDB_Enum.cs
- _ContextAwareResult.cs
- SrgsElementFactory.cs
- ServiceThrottlingBehavior.cs
- QilTargetType.cs
- WhitespaceRuleReader.cs
- HtmlSelect.cs
- StaticTextPointer.cs
- NameGenerator.cs
- ApplicationServicesHostFactory.cs
- Block.cs
- PeerNameResolver.cs
- OdbcDataReader.cs
- X509CertificateRecipientServiceCredential.cs
- CultureInfo.cs
- MessageHeaderDescriptionCollection.cs
- ShortcutKeysEditor.cs
- OutKeywords.cs
- CalculatedColumn.cs
- Label.cs
- SqlUtils.cs
- FixUp.cs
- typedescriptorpermissionattribute.cs
- GridViewPageEventArgs.cs
- SmtpAuthenticationManager.cs
- ItemChangedEventArgs.cs
- SmtpClient.cs
- JavaScriptObjectDeserializer.cs
- RadioButtonBaseAdapter.cs
- PathSegment.cs