Code:
/ DotNET / DotNET / 8.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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewCommandEventArgs : CommandEventArgs { private GridViewRow _row; private object _commandSource; ///Provides data for some ///events. /// 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; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return _commandSource; } } ///Gets the source of the command. This property is read-only. ////// internal GridViewRow Row { get { return _row; } } } }Gets the row in the ///that was clicked. This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbProviderFactories.cs
- errorpatternmatcher.cs
- SurrogateSelector.cs
- ListViewItem.cs
- InstancePersistenceCommandException.cs
- WebWorkflowRole.cs
- EdmSchemaAttribute.cs
- Delegate.cs
- dbenumerator.cs
- shaperfactoryquerycachekey.cs
- HttpConfigurationContext.cs
- PackWebRequestFactory.cs
- PeerToPeerException.cs
- StubHelpers.cs
- BamlResourceDeserializer.cs
- InputEventArgs.cs
- ReliableSession.cs
- SingletonInstanceContextProvider.cs
- XmlIncludeAttribute.cs
- FamilyTypefaceCollection.cs
- ServiceOperationParameter.cs
- HttpClientCertificate.cs
- BitmapMetadataEnumerator.cs
- DataAdapter.cs
- XmlMapping.cs
- SafeBitVector32.cs
- RangeBase.cs
- WindowsScrollBar.cs
- OperatingSystem.cs
- CharKeyFrameCollection.cs
- AmbientLight.cs
- BatchStream.cs
- HttpApplicationFactory.cs
- XmlSchemaSet.cs
- ValidationResult.cs
- XmlSchemaInfo.cs
- ObjectViewEntityCollectionData.cs
- TimeSpanConverter.cs
- DataGrid.cs
- IdnMapping.cs
- DataReceivedEventArgs.cs
- ScriptDescriptor.cs
- DBAsyncResult.cs
- InheritanceContextHelper.cs
- ExtensionFile.cs
- ScriptReference.cs
- CollectionConverter.cs
- ByteViewer.cs
- DbConnectionPool.cs
- FlowDocumentScrollViewer.cs
- HtmlContainerControl.cs
- GridSplitterAutomationPeer.cs
- TransformProviderWrapper.cs
- XmlSchemaObjectTable.cs
- Line.cs
- BinaryWriter.cs
- MarkerProperties.cs
- XmlSchemaObject.cs
- CapabilitiesPattern.cs
- DefaultValueTypeConverter.cs
- SignalGate.cs
- DataReceivedEventArgs.cs
- PersonalizationProviderCollection.cs
- CqlQuery.cs
- ApplicationBuildProvider.cs
- Debug.cs
- MetadataItemEmitter.cs
- AxParameterData.cs
- OperationDescription.cs
- ToolStripItemTextRenderEventArgs.cs
- ThrowHelper.cs
- DecimalConverter.cs
- Application.cs
- TextPattern.cs
- EnvelopedPkcs7.cs
- _FtpDataStream.cs
- Maps.cs
- NullableIntAverageAggregationOperator.cs
- WaitHandleCannotBeOpenedException.cs
- ReadOnlyKeyedCollection.cs
- XamlReaderConstants.cs
- XmlDataImplementation.cs
- TextBoxBase.cs
- UnmanagedMemoryStream.cs
- StyleTypedPropertyAttribute.cs
- MetadataPropertyCollection.cs
- EventLogPermissionEntry.cs
- ColorMatrix.cs
- HyperlinkAutomationPeer.cs
- ProfileGroupSettingsCollection.cs
- CodeNamespaceImportCollection.cs
- ConnectionPoint.cs
- FontCollection.cs
- Ops.cs
- RegexReplacement.cs
- SR.cs
- Console.cs
- OpenTypeLayoutCache.cs
- FilterUserControlBase.cs
- RoutedEventValueSerializer.cs