Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }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
- DeviceContext.cs
- StateValidator.cs
- ListViewDesigner.cs
- ProviderSettingsCollection.cs
- HealthMonitoringSectionHelper.cs
- _DigestClient.cs
- XslTransformFileEditor.cs
- SqlMethodTransformer.cs
- UrlMappingCollection.cs
- NamespaceCollection.cs
- TargetParameterCountException.cs
- COAUTHINFO.cs
- ContentFilePart.cs
- BeginEvent.cs
- ConnectionConsumerAttribute.cs
- BatchWriter.cs
- SiteMapPath.cs
- XPathParser.cs
- WebBrowserHelper.cs
- NameTable.cs
- BindingMemberInfo.cs
- URI.cs
- StickyNoteHelper.cs
- OleDbConnection.cs
- SchemaImporterExtensionElement.cs
- SqlRecordBuffer.cs
- ReadOnlyCollectionBase.cs
- ConfigurationStrings.cs
- WorkflowMessageEventHandler.cs
- WebBaseEventKeyComparer.cs
- RowUpdatedEventArgs.cs
- TokenBasedSet.cs
- TextServicesDisplayAttribute.cs
- TemplateAction.cs
- MutexSecurity.cs
- TableAutomationPeer.cs
- AutomationIdentifierGuids.cs
- PointAnimationBase.cs
- ComponentResourceManager.cs
- ListViewDeleteEventArgs.cs
- InputQueueChannel.cs
- DetailsViewRow.cs
- wgx_commands.cs
- FixedSOMGroup.cs
- CurrencyWrapper.cs
- EdmConstants.cs
- OdbcError.cs
- DiscardableAttribute.cs
- ParentQuery.cs
- SingleBodyParameterMessageFormatter.cs
- IndexOutOfRangeException.cs
- ControlValuePropertyAttribute.cs
- SafeRightsManagementEnvironmentHandle.cs
- WeakReferenceList.cs
- WebContext.cs
- HttpBindingExtension.cs
- ImageMap.cs
- ConnectAlgorithms.cs
- ThreadExceptionDialog.cs
- UITypeEditors.cs
- TemplateComponentConnector.cs
- CodeAttributeArgumentCollection.cs
- HtmlLiteralTextAdapter.cs
- WebResourceAttribute.cs
- DescendentsWalkerBase.cs
- PlainXmlSerializer.cs
- StatusBar.cs
- CategoryAttribute.cs
- FixedPageStructure.cs
- ValidationError.cs
- ToolBarButtonClickEvent.cs
- StringUtil.cs
- ListBoxItemAutomationPeer.cs
- WithParamAction.cs
- storepermissionattribute.cs
- VersionedStreamOwner.cs
- Metafile.cs
- ConstraintStruct.cs
- TraceProvider.cs
- MetadataItemEmitter.cs
- SqlUtils.cs
- ObjectDataSourceFilteringEventArgs.cs
- DesignerActionMethodItem.cs
- MustUnderstandSoapException.cs
- ColorContext.cs
- RoleBoolean.cs
- StylusPointPropertyUnit.cs
- Interop.cs
- ImageFormat.cs
- ToolBarTray.cs
- HwndTarget.cs
- TableCellAutomationPeer.cs
- SystemResources.cs
- _KerberosClient.cs
- processwaithandle.cs
- MetabaseServerConfig.cs
- CompensatableTransactionScopeActivityDesigner.cs
- httpserverutility.cs
- Annotation.cs
- HtmlInputHidden.cs