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
- UserControlBuildProvider.cs
- ActivationServices.cs
- TabPanel.cs
- CodePageUtils.cs
- DesignerHost.cs
- DictionarySectionHandler.cs
- MethodToken.cs
- DesigntimeLicenseContextSerializer.cs
- Column.cs
- HtmlButton.cs
- NoClickablePointException.cs
- RepeaterItemEventArgs.cs
- StartFileNameEditor.cs
- PathFigureCollectionConverter.cs
- CredentialSelector.cs
- EventLogPermission.cs
- SortAction.cs
- EntityDataSourceContainerNameItem.cs
- EventLogger.cs
- _emptywebproxy.cs
- Scheduling.cs
- RoutedEventValueSerializer.cs
- panel.cs
- MouseBinding.cs
- QuerySubExprEliminator.cs
- WmlCommandAdapter.cs
- SoapMessage.cs
- SyntaxCheck.cs
- ToolStripGripRenderEventArgs.cs
- CodeTypeReference.cs
- WmlPanelAdapter.cs
- ClientApiGenerator.cs
- X509SecurityToken.cs
- PathParser.cs
- RegisterInfo.cs
- GridProviderWrapper.cs
- SimpleExpression.cs
- DockProviderWrapper.cs
- FixedSOMContainer.cs
- VarRefManager.cs
- RawStylusActions.cs
- IApplicationTrustManager.cs
- WebPartDisplayModeCollection.cs
- BinaryWriter.cs
- XmlValidatingReader.cs
- Internal.cs
- HtmlInputText.cs
- Listbox.cs
- MetaModel.cs
- SqlBulkCopy.cs
- _ConnectionGroup.cs
- EventProviderWriter.cs
- CustomError.cs
- _ScatterGatherBuffers.cs
- StringDictionary.cs
- RectangleConverter.cs
- TypedMessageConverter.cs
- LockingPersistenceProvider.cs
- DataSourceHelper.cs
- DataGridViewTextBoxColumn.cs
- Transform3DGroup.cs
- IntSecurity.cs
- NumericUpDown.cs
- RepeatButton.cs
- AttributeEmitter.cs
- AffineTransform3D.cs
- ParsedAttributeCollection.cs
- HttpPostProtocolReflector.cs
- ProfileManager.cs
- TextBoxDesigner.cs
- Int32Collection.cs
- DefaultMemberAttribute.cs
- FastEncoderWindow.cs
- GridViewUpdateEventArgs.cs
- CompilerGlobalScopeAttribute.cs
- LoadedEvent.cs
- RenderOptions.cs
- XmlSchemaSimpleTypeUnion.cs
- OptionUsage.cs
- FilterException.cs
- DBConnection.cs
- XmlEventCache.cs
- DataControlImageButton.cs
- CqlGenerator.cs
- SizeConverter.cs
- CheckBoxDesigner.cs
- TCPListener.cs
- DataComponentGenerator.cs
- SQLUtility.cs
- RegexStringValidatorAttribute.cs
- DbCommandDefinition.cs
- HtmlEncodedRawTextWriter.cs
- InputScopeConverter.cs
- DataGridTextColumn.cs
- HandledEventArgs.cs
- RelatedEnd.cs
- CodeMemberProperty.cs
- RadioButton.cs
- TabRenderer.cs
- TypeUtil.cs