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
- CustomSignedXml.cs
- hwndwrapper.cs
- AspNetSynchronizationContext.cs
- EventHandlerService.cs
- ButtonBase.cs
- Context.cs
- SessionEndingCancelEventArgs.cs
- VisualBrush.cs
- WebServiceBindingAttribute.cs
- SecondaryIndex.cs
- WebPartManager.cs
- ToolStripSplitButton.cs
- TraceHandler.cs
- ChannelEndpointElement.cs
- PriorityChain.cs
- TemplateField.cs
- PropertyEntry.cs
- XPathNodePointer.cs
- DataGridToolTip.cs
- TemplateControlParser.cs
- CompilerLocalReference.cs
- ToolboxItem.cs
- TableDetailsRow.cs
- ParameterElementCollection.cs
- ShaderRenderModeValidation.cs
- LocalizationComments.cs
- TransactionState.cs
- UnhandledExceptionEventArgs.cs
- CollectionDataContractAttribute.cs
- ECDiffieHellmanCngPublicKey.cs
- AttributeCollection.cs
- ProcessModule.cs
- ErrorHandler.cs
- ProcessInfo.cs
- RbTree.cs
- PackagePartCollection.cs
- PlaceHolder.cs
- CaseInsensitiveOrdinalStringComparer.cs
- WindowsListView.cs
- FilterableData.cs
- DataBoundControlActionList.cs
- GridViewItemAutomationPeer.cs
- CachedPathData.cs
- XmlTypeAttribute.cs
- ContractMapping.cs
- FeatureSupport.cs
- JournalEntryStack.cs
- CompositeCollectionView.cs
- WebInvokeAttribute.cs
- ChangePassword.cs
- RangeValuePattern.cs
- LocationUpdates.cs
- URLIdentityPermission.cs
- FixedTextPointer.cs
- RawTextInputReport.cs
- TemplateComponentConnector.cs
- TraceSection.cs
- NameSpaceExtractor.cs
- WmlTextViewAdapter.cs
- UnknownWrapper.cs
- Mutex.cs
- DataGridViewCellCollection.cs
- MouseWheelEventArgs.cs
- SchemaNamespaceManager.cs
- MonikerHelper.cs
- ContractCodeDomInfo.cs
- LinqDataSourceDisposeEventArgs.cs
- WebPartHelpVerb.cs
- Unit.cs
- DesignTimeTemplateParser.cs
- ColumnCollection.cs
- HtmlForm.cs
- CompositeDataBoundControl.cs
- Win32SafeHandles.cs
- ParallelForEach.cs
- ObjectMaterializedEventArgs.cs
- HierarchicalDataSourceDesigner.cs
- FieldNameLookup.cs
- SmiEventSink_DeferedProcessing.cs
- Selection.cs
- ColorConvertedBitmap.cs
- RepeaterItem.cs
- BamlMapTable.cs
- SelectionItemPattern.cs
- XPathDocumentIterator.cs
- ChildrenQuery.cs
- Command.cs
- UriSectionReader.cs
- SqlUtil.cs
- Int32Storage.cs
- HttpModulesInstallComponent.cs
- DSASignatureDeformatter.cs
- KeyedCollection.cs
- DataFormats.cs
- ByteRangeDownloader.cs
- SimpleHandlerBuildProvider.cs
- KeySpline.cs
- TrustManager.cs
- DiscoveryDocumentReference.cs
- SmtpReplyReaderFactory.cs