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
- MSHTMLHostUtil.cs
- SQLInt32Storage.cs
- ReturnValue.cs
- SoapExtension.cs
- Separator.cs
- HttpListenerContext.cs
- DataGridViewAccessibleObject.cs
- TextBoxLine.cs
- XamlSerializer.cs
- PassportAuthenticationModule.cs
- Type.cs
- WebResourceUtil.cs
- Context.cs
- SafeFileMapViewHandle.cs
- SortQueryOperator.cs
- UrlPropertyAttribute.cs
- QilBinary.cs
- TextUtf8RawTextWriter.cs
- DrawingGroup.cs
- SQLBoolean.cs
- DataGridViewUtilities.cs
- FtpWebResponse.cs
- TextBlock.cs
- ItemList.cs
- QuerySetOp.cs
- XsdSchemaFileEditor.cs
- IconBitmapDecoder.cs
- XmlCharCheckingReader.cs
- ObservableDictionary.cs
- CodeCompileUnit.cs
- CardSpacePolicyElement.cs
- AQNBuilder.cs
- Attributes.cs
- DataSourceProvider.cs
- NamespaceEmitter.cs
- StdValidatorsAndConverters.cs
- DBNull.cs
- EdmItemError.cs
- UndoManager.cs
- ArrangedElementCollection.cs
- PrintController.cs
- XmlRawWriter.cs
- Clock.cs
- BoolLiteral.cs
- MediaPlayerState.cs
- TransactionContextValidator.cs
- ObjectDisposedException.cs
- FactoryId.cs
- WeakReferenceList.cs
- DashStyle.cs
- Internal.cs
- Encoding.cs
- NameGenerator.cs
- GenericParameterDataContract.cs
- PipelineDeploymentState.cs
- WindowsListViewGroup.cs
- WeakReadOnlyCollection.cs
- ComponentResourceManager.cs
- EnumMember.cs
- SqlDataReader.cs
- HtmlEmptyTagControlBuilder.cs
- CustomCredentialPolicy.cs
- Fx.cs
- ExtensionQuery.cs
- ClientTargetCollection.cs
- PackWebResponse.cs
- Predicate.cs
- SecurityKeyIdentifier.cs
- DataGridViewSelectedColumnCollection.cs
- CodeStatementCollection.cs
- QilCloneVisitor.cs
- PageThemeBuildProvider.cs
- AuthenticationServiceManager.cs
- ColorAnimationBase.cs
- RoleService.cs
- ToolboxItemAttribute.cs
- ConfigurationElementCollection.cs
- CommonGetThemePartSize.cs
- Compiler.cs
- ToolStripDropTargetManager.cs
- sitestring.cs
- ConstNode.cs
- WindowsTitleBar.cs
- TriggerActionCollection.cs
- ActivityMarkupSerializationProvider.cs
- PropertiesTab.cs
- MtomMessageEncodingElement.cs
- ShadowGlyph.cs
- updateconfighost.cs
- StrongTypingException.cs
- CheckBox.cs
- PackageProperties.cs
- WebScriptMetadataMessage.cs
- ISAPIWorkerRequest.cs
- DescendantOverDescendantQuery.cs
- XmlSchemaSimpleTypeList.cs
- ToolStripItemClickedEventArgs.cs
- ISessionStateStore.cs
- RectValueSerializer.cs
- NetDataContractSerializer.cs