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
- RowCache.cs
- DragEventArgs.cs
- PermissionSet.cs
- TextEditorSpelling.cs
- ClientFormsIdentity.cs
- DataGridViewCellStyle.cs
- FormatterConverter.cs
- ListenerConnectionModeReader.cs
- CatalogZoneAutoFormat.cs
- TextSchema.cs
- ConfigurationFileMap.cs
- MimeObjectFactory.cs
- RegexReplacement.cs
- SelectionProviderWrapper.cs
- SHA512Managed.cs
- COM2EnumConverter.cs
- CharAnimationUsingKeyFrames.cs
- NetMsmqSecurityMode.cs
- MissingFieldException.cs
- ActivitySurrogateSelector.cs
- AutomationInteropProvider.cs
- DomainLiteralReader.cs
- SchemaDeclBase.cs
- CompositeDataBoundControl.cs
- UnsafeNativeMethods.cs
- UntypedNullExpression.cs
- PerformanceCounterPermissionAttribute.cs
- PathTooLongException.cs
- ByteConverter.cs
- Grant.cs
- Win32Native.cs
- HttpListener.cs
- WebPartConnectionsConnectVerb.cs
- Interlocked.cs
- DataGridViewCellLinkedList.cs
- HtmlMeta.cs
- ZipIOExtraFieldPaddingElement.cs
- DataBindingCollection.cs
- ToolStripContainer.cs
- InputElement.cs
- TypeSystem.cs
- IPipelineRuntime.cs
- DataListAutoFormat.cs
- UriParserTemplates.cs
- IsolatedStorage.cs
- DocumentationServerProtocol.cs
- ResourcePool.cs
- RetrieveVirtualItemEventArgs.cs
- DiscreteKeyFrames.cs
- PolyLineSegment.cs
- DuplicateWaitObjectException.cs
- CodeComment.cs
- DataControlPagerLinkButton.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- PersonalizableTypeEntry.cs
- ButtonChrome.cs
- EditCommandColumn.cs
- TypeConverterHelper.cs
- Message.cs
- TextBoxBase.cs
- FunctionMappingTranslator.cs
- SymbolEqualComparer.cs
- MethodExpr.cs
- dbdatarecord.cs
- TextModifier.cs
- SessionStateUtil.cs
- AutomationFocusChangedEventArgs.cs
- ExecutedRoutedEventArgs.cs
- PointUtil.cs
- SimpleHandlerBuildProvider.cs
- ReflectTypeDescriptionProvider.cs
- Compiler.cs
- SecurityKeyType.cs
- DiagnosticTraceSource.cs
- DependencyPropertyChangedEventArgs.cs
- DataServiceKeyAttribute.cs
- Encoder.cs
- DataGridRelationshipRow.cs
- ProjectionCamera.cs
- Floater.cs
- AndCondition.cs
- ObjectDataSourceView.cs
- PermissionRequestEvidence.cs
- WorkflowServiceHostFactory.cs
- OdbcDataAdapter.cs
- isolationinterop.cs
- MaskedTextBox.cs
- ProfileInfo.cs
- DescendantQuery.cs
- IdentityModelDictionary.cs
- XmlHierarchicalDataSourceView.cs
- Misc.cs
- XmlSchemaSimpleType.cs
- HtmlShim.cs
- RegexCode.cs
- HMACSHA256.cs
- Accessible.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- SortedList.cs
- FontConverter.cs