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
- connectionpool.cs
- XmlDocumentSerializer.cs
- AutoGeneratedField.cs
- DataGridPageChangedEventArgs.cs
- UserPersonalizationStateInfo.cs
- ProxyElement.cs
- OleDbCommand.cs
- MessageDescription.cs
- SelectedDatesCollection.cs
- RawStylusInput.cs
- DataGridViewCellStyleConverter.cs
- CompModSwitches.cs
- ScrollChrome.cs
- Setter.cs
- ScriptReferenceBase.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EdgeProfileValidation.cs
- ContentPlaceHolder.cs
- ConcurrencyBehavior.cs
- BrowserCapabilitiesCodeGenerator.cs
- XsdDateTime.cs
- CultureInfo.cs
- SymmetricAlgorithm.cs
- Container.cs
- OpCopier.cs
- CollectionViewGroup.cs
- TemplateKey.cs
- XmlSchemaDocumentation.cs
- MarshalByRefObject.cs
- XmlArrayItemAttribute.cs
- _SSPISessionCache.cs
- InternalTypeHelper.cs
- BaseTemplateParser.cs
- PolicyException.cs
- VerticalAlignConverter.cs
- ControlBuilderAttribute.cs
- Button.cs
- SimpleColumnProvider.cs
- DataGridViewButtonColumn.cs
- ImageBrush.cs
- ScrollItemProviderWrapper.cs
- SqlCachedBuffer.cs
- StringConcat.cs
- TransformedBitmap.cs
- Label.cs
- WebServiceEndpoint.cs
- LocalFileSettingsProvider.cs
- PipelineDeploymentState.cs
- HttpException.cs
- TransformDescriptor.cs
- ExpressionPrinter.cs
- HtmlTableCell.cs
- CodeTypeDeclaration.cs
- DatagridviewDisplayedBandsData.cs
- xml.cs
- ComponentChangingEvent.cs
- AsyncOperation.cs
- SafeFindHandle.cs
- DownloadProgressEventArgs.cs
- PerformanceCountersElement.cs
- XsdDuration.cs
- ColorAnimationBase.cs
- templategroup.cs
- FileNotFoundException.cs
- Walker.cs
- Odbc32.cs
- ProfessionalColorTable.cs
- SystemWebCachingSectionGroup.cs
- KoreanCalendar.cs
- XmlUtil.cs
- ScrollEvent.cs
- GeneralTransform3DGroup.cs
- DiagnosticTraceSource.cs
- PrintDialogException.cs
- ItemContainerGenerator.cs
- RectangleF.cs
- CodeChecksumPragma.cs
- RegistryConfigurationProvider.cs
- DependencyPropertyKey.cs
- MaskedTextBox.cs
- AudioFormatConverter.cs
- Base64Decoder.cs
- RewritingValidator.cs
- AsyncOperationManager.cs
- RelationshipEndCollection.cs
- QilReplaceVisitor.cs
- QuaternionRotation3D.cs
- AssemblySettingAttributes.cs
- XmlSchemaElement.cs
- InputGestureCollection.cs
- LocatorBase.cs
- AnimationLayer.cs
- SmtpCommands.cs
- FileAuthorizationModule.cs
- StatusBarDrawItemEvent.cs
- UnmanagedHandle.cs
- sapiproxy.cs
- HashRepartitionEnumerator.cs
- ImageIndexConverter.cs
- ConnectionPoolManager.cs