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
- PassportAuthentication.cs
- ToolboxBitmapAttribute.cs
- ExtentKey.cs
- DataGridRow.cs
- PipeStream.cs
- GlobalizationSection.cs
- FlowLayoutPanel.cs
- MessageEncoderFactory.cs
- Message.cs
- ActivityScheduledRecord.cs
- MissingManifestResourceException.cs
- CqlLexerHelpers.cs
- SystemIPGlobalProperties.cs
- DataGridItemCollection.cs
- CodeDomConfigurationHandler.cs
- DataRelationPropertyDescriptor.cs
- MenuItemBinding.cs
- DataGridrowEditEndingEventArgs.cs
- InkPresenter.cs
- DetailsViewUpdatedEventArgs.cs
- CompressedStack.cs
- DelegatingConfigHost.cs
- DbParameterHelper.cs
- WSSecurityJan2004.cs
- TextSerializer.cs
- PropertyTab.cs
- FullTextBreakpoint.cs
- TypeUtils.cs
- GeometryValueSerializer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- AutoCompleteStringCollection.cs
- DbConnectionOptions.cs
- SpnegoTokenProvider.cs
- DataColumnPropertyDescriptor.cs
- nulltextnavigator.cs
- DbParameterCollectionHelper.cs
- ServiceManager.cs
- FontEmbeddingManager.cs
- FilterableAttribute.cs
- IntegerValidatorAttribute.cs
- WindowHideOrCloseTracker.cs
- AppDomainFactory.cs
- FocusTracker.cs
- SafeCloseHandleCritical.cs
- BufferModeSettings.cs
- CaseInsensitiveComparer.cs
- IdentityNotMappedException.cs
- CalendarModeChangedEventArgs.cs
- TreeViewImageIndexConverter.cs
- DynamicObject.cs
- PageCatalogPart.cs
- DynamicPropertyReader.cs
- TrackingParameters.cs
- WorkItem.cs
- WindowsListViewItem.cs
- HMACMD5.cs
- DoubleConverter.cs
- RC2.cs
- ScanQueryOperator.cs
- RightsManagementPermission.cs
- LocalBuilder.cs
- MobileControlPersister.cs
- MobileUITypeEditor.cs
- BaseDataListComponentEditor.cs
- TypeDescriptorFilterService.cs
- SHA512Managed.cs
- mactripleDES.cs
- TimerExtension.cs
- FixedSOMTableRow.cs
- BrowserCapabilitiesCompiler.cs
- TextChange.cs
- ContourSegment.cs
- EntityClientCacheKey.cs
- _HelperAsyncResults.cs
- ThicknessKeyFrameCollection.cs
- ToolboxDataAttribute.cs
- TriggerCollection.cs
- OdbcException.cs
- WindowsListView.cs
- mil_sdk_version.cs
- ConsumerConnectionPoint.cs
- SoapEnumAttribute.cs
- BitmapPalette.cs
- BufferModesCollection.cs
- XPathDocumentNavigator.cs
- FieldToken.cs
- Utility.cs
- ButtonFieldBase.cs
- ComplexBindingPropertiesAttribute.cs
- versioninfo.cs
- EntityDataSourceChangingEventArgs.cs
- UIElementParagraph.cs
- ProjectedSlot.cs
- DependencySource.cs
- TemplateControl.cs
- InputElement.cs
- CaseCqlBlock.cs
- PerformanceCounterPermissionEntry.cs
- SmiSettersStream.cs
- MLangCodePageEncoding.cs