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
- SmiConnection.cs
- ChangeConflicts.cs
- IncrementalCompileAnalyzer.cs
- StringAnimationBase.cs
- RequiredFieldValidator.cs
- Light.cs
- WebControlAdapter.cs
- TextWriter.cs
- VirtualPathUtility.cs
- LocationSectionRecord.cs
- CompilerGeneratedAttribute.cs
- ConfigurationElementProperty.cs
- StreamingContext.cs
- ObjectContextServiceProvider.cs
- DesignerAttribute.cs
- SmtpAuthenticationManager.cs
- UIElement3D.cs
- UrlAuthorizationModule.cs
- MergablePropertyAttribute.cs
- WeakReferenceList.cs
- RectValueSerializer.cs
- CriticalFinalizerObject.cs
- JsonByteArrayDataContract.cs
- SafeMarshalContext.cs
- LocalFileSettingsProvider.cs
- SymbolDocumentInfo.cs
- ListBoxChrome.cs
- GridPatternIdentifiers.cs
- MethodBody.cs
- InstanceCreationEditor.cs
- InputScope.cs
- ReflectPropertyDescriptor.cs
- _CookieModule.cs
- SettingsSection.cs
- GenericRootAutomationPeer.cs
- PseudoWebRequest.cs
- TablePattern.cs
- ResXResourceSet.cs
- ExpressionBinding.cs
- TreeViewAutomationPeer.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- FilterQueryOptionExpression.cs
- Matrix3DStack.cs
- CheckoutException.cs
- HashAlgorithm.cs
- TextModifierScope.cs
- OciHandle.cs
- HttpCookie.cs
- PageSetupDialog.cs
- RecommendedAsConfigurableAttribute.cs
- WebPageTraceListener.cs
- TypeNameConverter.cs
- RequestCacheValidator.cs
- BuildDependencySet.cs
- XmlNodeReader.cs
- SpellerInterop.cs
- ObjectListCommandEventArgs.cs
- QilCloneVisitor.cs
- DebugController.cs
- HtmlTableCellCollection.cs
- TdsValueSetter.cs
- PermissionSet.cs
- DoubleKeyFrameCollection.cs
- FrameworkRichTextComposition.cs
- WebPartPersonalization.cs
- StringSorter.cs
- SystemWebCachingSectionGroup.cs
- PseudoWebRequest.cs
- CorrelationToken.cs
- DecoderFallback.cs
- GenericWebPart.cs
- ScopeCompiler.cs
- DocumentReference.cs
- AssociatedControlConverter.cs
- CompareInfo.cs
- SID.cs
- StoreItemCollection.Loader.cs
- Int32RectValueSerializer.cs
- Int32CollectionConverter.cs
- COM2IPerPropertyBrowsingHandler.cs
- TextEditorCharacters.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- BrowserTree.cs
- XPathAxisIterator.cs
- ListViewSortEventArgs.cs
- ServiceAuthorizationManager.cs
- HtmlInputText.cs
- StorageRoot.cs
- AssertSection.cs
- Misc.cs
- ConcurrentStack.cs
- ExpandableObjectConverter.cs
- SerializationAttributes.cs
- WebPartEditorOkVerb.cs
- Int64KeyFrameCollection.cs
- SqlMethods.cs
- CommandLibraryHelper.cs
- MailWebEventProvider.cs
- PerspectiveCamera.cs
- SchemaNotation.cs