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; ////// [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
- XPathException.cs
- DataTemplate.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Compiler.cs
- XmlUtil.cs
- ConfigurationSettings.cs
- XmlSchemaCollection.cs
- HostUtils.cs
- XmlCharacterData.cs
- ResourceDictionaryCollection.cs
- StylusEventArgs.cs
- StylusButtonEventArgs.cs
- RecognizerBase.cs
- AdPostCacheSubstitution.cs
- InfoCardProofToken.cs
- CompilationSection.cs
- ExitEventArgs.cs
- HScrollProperties.cs
- HttpConfigurationSystem.cs
- ObjectDataSourceDisposingEventArgs.cs
- MemberMaps.cs
- OuterGlowBitmapEffect.cs
- StorageScalarPropertyMapping.cs
- PropertiesTab.cs
- CalendarDay.cs
- Soap12FormatExtensions.cs
- ValidationResult.cs
- TrustLevel.cs
- UpdatePanel.cs
- DetailsViewDeleteEventArgs.cs
- PermissionSetEnumerator.cs
- MenuItemCollection.cs
- ListenerElementsCollection.cs
- RandomNumberGenerator.cs
- CompilerGeneratedAttribute.cs
- BitmapFrameDecode.cs
- HashRepartitionEnumerator.cs
- LoginView.cs
- ControllableStoryboardAction.cs
- DataGridViewColumn.cs
- BamlLocalizationDictionary.cs
- ClusterSafeNativeMethods.cs
- KeyInterop.cs
- DecimalAnimation.cs
- EpmSyndicationContentSerializer.cs
- SkewTransform.cs
- SmtpAuthenticationManager.cs
- UInt64.cs
- PageBuildProvider.cs
- TypefaceCollection.cs
- WebPartZoneCollection.cs
- WebServiceHandler.cs
- AlignmentYValidation.cs
- _TLSstream.cs
- FactoryId.cs
- OleDbRowUpdatingEvent.cs
- TableHeaderCell.cs
- IArgumentProvider.cs
- ISAPIApplicationHost.cs
- XmlDataLoader.cs
- FormViewInsertEventArgs.cs
- LoadedOrUnloadedOperation.cs
- Soap12ServerProtocol.cs
- ZipIOCentralDirectoryFileHeader.cs
- Timeline.cs
- ShaderEffect.cs
- DynamicUpdateCommand.cs
- HierarchicalDataSourceControl.cs
- SpeechUI.cs
- CodeExpressionRuleDeclaration.cs
- LinqDataView.cs
- CaretElement.cs
- AutomationPatternInfo.cs
- shaperfactoryquerycacheentry.cs
- ChangeBlockUndoRecord.cs
- PartBasedPackageProperties.cs
- ServiceHttpModule.cs
- TreeNodeStyle.cs
- ExceptionUtil.cs
- MonthCalendarDesigner.cs
- BuiltInExpr.cs
- TextRenderer.cs
- XhtmlBasicLiteralTextAdapter.cs
- DeploymentSection.cs
- OperationExecutionFault.cs
- EdmItemCollection.cs
- NGCSerializer.cs
- PriorityQueue.cs
- MultiPageTextView.cs
- ButtonField.cs
- DataGridViewAdvancedBorderStyle.cs
- CryptoHelper.cs
- HtmlHead.cs
- PowerStatus.cs
- TreeNodeClickEventArgs.cs
- DataServiceQueryProvider.cs
- CheckBoxField.cs
- DataControlImageButton.cs
- ObjectSecurity.cs
- PropertyMapper.cs