Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1305376 / GridViewCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// 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. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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.Diagnostics.CodeAnalysis; ////// 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. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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
- BitVec.cs
- ComponentDispatcherThread.cs
- QuotedPrintableStream.cs
- QuaternionConverter.cs
- ToolStripPanelCell.cs
- _ServiceNameStore.cs
- Merger.cs
- X509ScopedServiceCertificateElementCollection.cs
- PresentationSource.cs
- DataColumnCollection.cs
- ReflectionPermission.cs
- _SafeNetHandles.cs
- HtmlTableCell.cs
- FullTextLine.cs
- SynchronousReceiveElement.cs
- infer.cs
- RoleService.cs
- ProcessingInstructionAction.cs
- BaseDataList.cs
- SslStream.cs
- HandlerBase.cs
- AspNetSynchronizationContext.cs
- ObjectConverter.cs
- ListDesigner.cs
- DrawingContextWalker.cs
- XmlSchemaAll.cs
- OpCellTreeNode.cs
- Number.cs
- StateBag.cs
- DesignerProperties.cs
- UnsafeNativeMethods.cs
- TaiwanLunisolarCalendar.cs
- CatalogZone.cs
- ReachSerializableProperties.cs
- SevenBitStream.cs
- NativeMethods.cs
- IdentityReference.cs
- KeyboardDevice.cs
- RoleManagerSection.cs
- SqlCacheDependencyDatabaseCollection.cs
- ScriptControlManager.cs
- DesignerTransaction.cs
- MouseDevice.cs
- CallbackDebugElement.cs
- MultiView.cs
- EventLogTraceListener.cs
- ByValueEqualityComparer.cs
- OdbcConnectionFactory.cs
- Pen.cs
- DelegateSerializationHolder.cs
- DefaultWorkflowLoaderService.cs
- EdmEntityTypeAttribute.cs
- FixedSOMContainer.cs
- ComponentEditorForm.cs
- TemplateBaseAction.cs
- SizeF.cs
- SharedUtils.cs
- SecurityKeyIdentifier.cs
- GridViewCancelEditEventArgs.cs
- FunctionUpdateCommand.cs
- DataContractFormatAttribute.cs
- ProcessInfo.cs
- WindowsScrollBarBits.cs
- JoinElimination.cs
- HostingEnvironment.cs
- BatchStream.cs
- XPathNode.cs
- StatusBarItemAutomationPeer.cs
- FixedSOMTableRow.cs
- FunctionOverloadResolver.cs
- DecimalStorage.cs
- HttpConfigurationContext.cs
- DeflateStream.cs
- RoleManagerEventArgs.cs
- ShaderEffect.cs
- FormatConvertedBitmap.cs
- FunctionImportElement.cs
- ToolStripControlHost.cs
- DataGridViewColumnCollectionDialog.cs
- BamlResourceDeserializer.cs
- SerializableAttribute.cs
- BuildResultCache.cs
- IssuanceTokenProviderState.cs
- StrongName.cs
- PropertyConverter.cs
- EventLogLink.cs
- WebControlAdapter.cs
- OptionUsage.cs
- SqlAliasesReferenced.cs
- ComponentEditorPage.cs
- UnlockInstanceCommand.cs
- TCEAdapterGenerator.cs
- SchemaTableOptionalColumn.cs
- UIElement3D.cs
- ReadOnlyNameValueCollection.cs
- Comparer.cs
- ServicesExceptionNotHandledEventArgs.cs
- WebPartConnectionCollection.cs
- Reference.cs
- ActivityMarkupSerializationProvider.cs