Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
/*
*/
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DelegatingTypeDescriptionProvider.cs
- WindowsProgressbar.cs
- QuestionEventArgs.cs
- CommandDesigner.cs
- ColumnPropertiesGroup.cs
- Quaternion.cs
- IsolatedStorageFile.cs
- TableCell.cs
- CryptographicAttribute.cs
- AttachedPropertyDescriptor.cs
- TargetControlTypeAttribute.cs
- ValidationHelpers.cs
- Enlistment.cs
- LocalBuilder.cs
- WebPartMenu.cs
- ActionMessageFilterTable.cs
- RadioButton.cs
- nulltextcontainer.cs
- CollectionType.cs
- NaturalLanguageHyphenator.cs
- ChannelDispatcherBase.cs
- XPathEmptyIterator.cs
- XmlNavigatorStack.cs
- KeyToListMap.cs
- MouseEventArgs.cs
- JoinSymbol.cs
- ParsedAttributeCollection.cs
- XmlQueryType.cs
- AutoGeneratedFieldProperties.cs
- XslTransform.cs
- SiteOfOriginContainer.cs
- AssociationTypeEmitter.cs
- KeyConstraint.cs
- TrustManagerMoreInformation.cs
- ParameterInfo.cs
- XmlMessageFormatter.cs
- TemplateControl.cs
- WebPartAuthorizationEventArgs.cs
- CodeCatchClause.cs
- SamlAuthenticationClaimResource.cs
- DiagnosticTraceSource.cs
- FactoryMaker.cs
- SafeRightsManagementHandle.cs
- IPEndPointCollection.cs
- RawStylusSystemGestureInputReport.cs
- XMLSyntaxException.cs
- Light.cs
- XslTransform.cs
- EntityProviderServices.cs
- SymmetricAlgorithm.cs
- Tokenizer.cs
- ComponentEditorForm.cs
- Inflater.cs
- ManagedFilter.cs
- DeferredElementTreeState.cs
- GenericWebPart.cs
- LazyInitializer.cs
- XmlSchemaAll.cs
- GridViewSortEventArgs.cs
- ColorConverter.cs
- ImageDrawing.cs
- IsolatedStorageFilePermission.cs
- CollectionCodeDomSerializer.cs
- SchemaImporterExtensionsSection.cs
- UInt32.cs
- WindowsStatic.cs
- OLEDB_Util.cs
- RemotingAttributes.cs
- HtmlTableCellCollection.cs
- ListViewHitTestInfo.cs
- SynchronizedPool.cs
- ASCIIEncoding.cs
- VectorConverter.cs
- ImageEditor.cs
- RadioButton.cs
- securitymgrsite.cs
- EndpointIdentityExtension.cs
- SecurityCookieModeValidator.cs
- DataSourceSelectArguments.cs
- SimpleBitVector32.cs
- RangeBaseAutomationPeer.cs
- DataRelation.cs
- XsltArgumentList.cs
- DocumentManager.cs
- DesignerObject.cs
- XamlSerializerUtil.cs
- ScriptResourceAttribute.cs
- Pair.cs
- OrderingQueryOperator.cs
- ScriptResourceAttribute.cs
- ModifyActivitiesPropertyDescriptor.cs
- XPathScanner.cs
- ProcessModule.cs
- path.cs
- Currency.cs
- Triangle.cs
- MetaData.cs
- SuppressMessageAttribute.cs
- XmlSchemaInfo.cs
- DataGridViewRowEventArgs.cs