Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ProofTokenCryptoHandle.cs
- EditModeSwitchButton.cs
- MemberHolder.cs
- DetailsViewModeEventArgs.cs
- Focus.cs
- CodeAssignStatement.cs
- RectAnimation.cs
- SqlOuterApplyReducer.cs
- SmiSettersStream.cs
- NetworkAddressChange.cs
- TileBrush.cs
- SortedSet.cs
- Wizard.cs
- WindowsTitleBar.cs
- ClrPerspective.cs
- ChannelSinkStacks.cs
- InfoCardRSACryptoProvider.cs
- XamlReader.cs
- VariableAction.cs
- OracleDateTime.cs
- ReachPageContentCollectionSerializerAsync.cs
- _NestedSingleAsyncResult.cs
- Animatable.cs
- CheckBoxFlatAdapter.cs
- DbConnectionStringBuilder.cs
- EqualityComparer.cs
- TextDpi.cs
- XmlSchemaSet.cs
- MenuRendererStandards.cs
- LineServices.cs
- InputBinding.cs
- Grant.cs
- ManagedWndProcTracker.cs
- CellParagraph.cs
- TextContainerChangedEventArgs.cs
- Comparer.cs
- DataGridColumnFloatingHeader.cs
- SessionEndingEventArgs.cs
- TCPListener.cs
- Tablet.cs
- EventSetterHandlerConverter.cs
- XmlSchemaAppInfo.cs
- UnsafeNativeMethods.cs
- HtmlTextArea.cs
- DataTableReaderListener.cs
- PkcsUtils.cs
- SqlDataSourceCache.cs
- SplashScreenNativeMethods.cs
- EntityParameter.cs
- LocatorGroup.cs
- XmlTextEncoder.cs
- InfoCardHelper.cs
- ServiceBusyException.cs
- NamedPipeChannelListener.cs
- DataTemplate.cs
- PageParserFilter.cs
- ResourceReferenceExpressionConverter.cs
- ItemCollection.cs
- ModulesEntry.cs
- _ChunkParse.cs
- CollectionsUtil.cs
- SpotLight.cs
- ComponentResourceManager.cs
- mediaclock.cs
- SHA512CryptoServiceProvider.cs
- CachedTypeface.cs
- BadImageFormatException.cs
- PrintDialog.cs
- DbConnectionPoolCounters.cs
- UnsafePeerToPeerMethods.cs
- PropertyGridEditorPart.cs
- SqlBooleanMismatchVisitor.cs
- InvalidPropValue.cs
- DataSysAttribute.cs
- DurableInstanceManager.cs
- TextClipboardData.cs
- WebScriptMetadataMessage.cs
- QuaternionRotation3D.cs
- XmlSchemaAttributeGroupRef.cs
- QilReference.cs
- PrePrepareMethodAttribute.cs
- TimeIntervalCollection.cs
- BindingsCollection.cs
- CheckBoxAutomationPeer.cs
- ModelUtilities.cs
- SemanticValue.cs
- Automation.cs
- DesignerProperties.cs
- PeerCollaborationPermission.cs
- UnsupportedPolicyOptionsException.cs
- CollectionDataContractAttribute.cs
- SqlFormatter.cs
- configsystem.cs
- ManagementException.cs
- BufferedGraphicsContext.cs
- SqlConnectionString.cs
- DrawingAttributesDefaultValueFactory.cs
- ActivityMarkupSerializationProvider.cs
- PointLightBase.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs