Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the row in the ///that was clicked. This property is read-only. // 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.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
- MemberAccessException.cs
- MimePart.cs
- AnyAllSearchOperator.cs
- ServicePointManager.cs
- BoundField.cs
- TypeDelegator.cs
- ZoomPercentageConverter.cs
- ArgumentReference.cs
- ComponentFactoryHelpers.cs
- XmlSerializerNamespaces.cs
- FeatureSupport.cs
- _FtpControlStream.cs
- LocalFileSettingsProvider.cs
- DataServiceConfiguration.cs
- FormViewCommandEventArgs.cs
- TypeElementCollection.cs
- ViewCellRelation.cs
- FontCacheLogic.cs
- Maps.cs
- HtmlFormParameterWriter.cs
- ValidatingCollection.cs
- DllHostInitializer.cs
- XamlSerializer.cs
- UnaryExpression.cs
- DataGridSortCommandEventArgs.cs
- ListView.cs
- ProcessRequestArgs.cs
- CornerRadius.cs
- ValidationError.cs
- GridViewAutomationPeer.cs
- FormsAuthenticationConfiguration.cs
- DrawTreeNodeEventArgs.cs
- input.cs
- PersonalizationStateInfoCollection.cs
- StreamingContext.cs
- BitmapFrameEncode.cs
- AddingNewEventArgs.cs
- SqlCharStream.cs
- GroupAggregateExpr.cs
- PasswordRecovery.cs
- ScrollBarRenderer.cs
- SafeRegistryKey.cs
- PeerCollaborationPermission.cs
- CodeDelegateInvokeExpression.cs
- LabelEditEvent.cs
- DesignerTransactionCloseEvent.cs
- AutoResizedEvent.cs
- ListViewInsertEventArgs.cs
- EntityCommandCompilationException.cs
- SourceItem.cs
- PathGradientBrush.cs
- DbConnectionPoolIdentity.cs
- DiscoveryServiceExtension.cs
- ComplusTypeValidator.cs
- cache.cs
- IdleTimeoutMonitor.cs
- assemblycache.cs
- LoginCancelEventArgs.cs
- DotAtomReader.cs
- AddInToken.cs
- AnnotationHelper.cs
- IsolatedStoragePermission.cs
- TracingConnectionListener.cs
- GenericTypeParameterBuilder.cs
- GridSplitterAutomationPeer.cs
- TemplateControl.cs
- DataGridViewColumnTypeEditor.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CodeTypeOfExpression.cs
- XmlSchemaObject.cs
- HtmlMeta.cs
- CopyCodeAction.cs
- ToolBar.cs
- DateTimeConstantAttribute.cs
- XmlCountingReader.cs
- TreeViewItemAutomationPeer.cs
- TableLayoutRowStyleCollection.cs
- ContextQuery.cs
- WmlValidatorAdapter.cs
- PermissionAttributes.cs
- Animatable.cs
- RegularExpressionValidator.cs
- GPPOINT.cs
- SnapshotChangeTrackingStrategy.cs
- RequestStatusBarUpdateEventArgs.cs
- mediapermission.cs
- GeneratedView.cs
- GeneralTransform2DTo3DTo2D.cs
- DocumentSchemaValidator.cs
- BaseValidatorDesigner.cs
- AttributeCollection.cs
- Icon.cs
- XmlDeclaration.cs
- WebPartZoneBase.cs
- ForceCopyBuildProvider.cs
- WebConfigurationHost.cs
- WindowsStreamSecurityBindingElement.cs
- HeaderElement.cs
- ErrorsHelper.cs
- TraceContext.cs