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
- HostingEnvironmentSection.cs
- RegionInfo.cs
- DataGridViewComboBoxCell.cs
- SqlDependency.cs
- GridViewAutoFormat.cs
- ScaleTransform.cs
- XPathNavigator.cs
- MultiView.cs
- SignatureResourcePool.cs
- GenericPrincipal.cs
- QilValidationVisitor.cs
- OledbConnectionStringbuilder.cs
- ServicePointManager.cs
- TextMetrics.cs
- DataGridViewLayoutData.cs
- BCryptSafeHandles.cs
- ReadingWritingEntityEventArgs.cs
- ComboBoxRenderer.cs
- StreamWriter.cs
- ManagementDateTime.cs
- PropertyTab.cs
- itemelement.cs
- XsdValidatingReader.cs
- EventsTab.cs
- ConnectionManagementElement.cs
- DbParameterHelper.cs
- ResetableIterator.cs
- TableCellAutomationPeer.cs
- InputQueue.cs
- ParseElement.cs
- WindowsImpersonationContext.cs
- DataGridViewSelectedColumnCollection.cs
- OracleColumn.cs
- OSFeature.cs
- counter.cs
- DataTableMappingCollection.cs
- TaskHelper.cs
- Expressions.cs
- TagPrefixCollection.cs
- GlyphInfoList.cs
- SafeIUnknown.cs
- SQLInt32Storage.cs
- SystemParameters.cs
- XhtmlBasicSelectionListAdapter.cs
- RouteValueDictionary.cs
- NamedPermissionSet.cs
- BinaryCommonClasses.cs
- ReaderWriterLockWrapper.cs
- CodeIdentifiers.cs
- Registry.cs
- Int32AnimationUsingKeyFrames.cs
- SystemThemeKey.cs
- EmbeddedMailObject.cs
- SafeLibraryHandle.cs
- DetailsViewRow.cs
- _SslState.cs
- CssTextWriter.cs
- MobileControlsSection.cs
- BinaryFormatterWriter.cs
- NumberSubstitution.cs
- CaseStatement.cs
- CustomAttributeBuilder.cs
- QueryableDataSource.cs
- ColumnClickEvent.cs
- AnnotationHelper.cs
- BindingParameterCollection.cs
- SiteMap.cs
- ContentWrapperAttribute.cs
- EntityViewContainer.cs
- MD5.cs
- WindowCollection.cs
- DbConnectionPool.cs
- MaterializeFromAtom.cs
- MemoryRecordBuffer.cs
- StructuredTypeInfo.cs
- SystemFonts.cs
- KnownColorTable.cs
- SiteMapDataSource.cs
- MenuItemStyleCollection.cs
- AttachmentCollection.cs
- ResolveResponseInfo.cs
- SuppressIldasmAttribute.cs
- CompatibleComparer.cs
- EventNotify.cs
- GC.cs
- LocalizabilityAttribute.cs
- AuthenticationService.cs
- HashSetDebugView.cs
- SchemaNotation.cs
- BinHexDecoder.cs
- RegularExpressionValidator.cs
- PropertyHelper.cs
- TimeSpanConverter.cs
- ControlCodeDomSerializer.cs
- WindowsProgressbar.cs
- webclient.cs
- SchemaElement.cs
- And.cs
- FileNotFoundException.cs
- InputScopeManager.cs