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
- HtmlTextArea.cs
- DesignerFrame.cs
- DataGridBoolColumn.cs
- InvalidProgramException.cs
- _HeaderInfoTable.cs
- Dictionary.cs
- CodeCompiler.cs
- PrintEvent.cs
- Point3DAnimation.cs
- NameValuePermission.cs
- SoapServerMethod.cs
- TokenizerHelper.cs
- DataGridViewRowCollection.cs
- InstanceStore.cs
- SqlFlattener.cs
- IpcClientManager.cs
- SQLCharsStorage.cs
- LazyLoadBehavior.cs
- ByteStack.cs
- MarkedHighlightComponent.cs
- MtomMessageEncodingElement.cs
- ModelPerspective.cs
- RuntimeResourceSet.cs
- ImportException.cs
- PowerModeChangedEventArgs.cs
- PropertyStore.cs
- ButtonBaseDesigner.cs
- StatusBar.cs
- PlatformCulture.cs
- ApplicationActivator.cs
- ParameterBuilder.cs
- WebProxyScriptElement.cs
- ListView.cs
- WebBrowsableAttribute.cs
- FileInfo.cs
- CreateUserErrorEventArgs.cs
- CodeDirectiveCollection.cs
- ConnectionConsumerAttribute.cs
- XsdBuildProvider.cs
- XPathCompileException.cs
- FontConverter.cs
- SchemaImporterExtensionElement.cs
- DirectoryNotFoundException.cs
- LateBoundBitmapDecoder.cs
- ToolStripItemGlyph.cs
- CompilerHelpers.cs
- RawMouseInputReport.cs
- SqlCacheDependencySection.cs
- KeyToListMap.cs
- UnSafeCharBuffer.cs
- ComponentEditorForm.cs
- SoapTypeAttribute.cs
- DataGridViewCellStyleEditor.cs
- MissingMemberException.cs
- Crc32Helper.cs
- __Filters.cs
- PermissionAttributes.cs
- pingexception.cs
- BitmapCodecInfoInternal.cs
- HtmlGenericControl.cs
- ApplicationFileParser.cs
- EntityExpressionVisitor.cs
- DataPagerFieldCommandEventArgs.cs
- SoapServerMessage.cs
- Container.cs
- UInt64Converter.cs
- GridPattern.cs
- LinkClickEvent.cs
- ItemChangedEventArgs.cs
- DeploymentExceptionMapper.cs
- PtsCache.cs
- RegexWriter.cs
- ClientConfigPaths.cs
- BulletedList.cs
- UnmanagedBitmapWrapper.cs
- HtmlPageAdapter.cs
- UITypeEditor.cs
- SectionVisual.cs
- Range.cs
- LineServicesRun.cs
- CreateRefExpr.cs
- PropertiesTab.cs
- JsonReaderWriterFactory.cs
- ModuleElement.cs
- StrongNameSignatureInformation.cs
- ConfigUtil.cs
- _TimerThread.cs
- PageThemeBuildProvider.cs
- Classification.cs
- DictionarySectionHandler.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- FacetValueContainer.cs
- OleCmdHelper.cs
- DataRelationCollection.cs
- PolyBezierSegment.cs
- BitmapMetadataBlob.cs
- HttpWebResponse.cs
- sqlstateclientmanager.cs
- InboundActivityHelper.cs
- WsdlServiceChannelBuilder.cs