Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ //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.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
- ClientBuildManager.cs
- OdbcTransaction.cs
- ActivityBindForm.Designer.cs
- CounterSample.cs
- TextBoxAutomationPeer.cs
- Brush.cs
- ProcessModuleCollection.cs
- String.cs
- DbXmlEnabledProviderManifest.cs
- InputLanguageEventArgs.cs
- DataPager.cs
- ConsoleTraceListener.cs
- CustomErrorsSectionWrapper.cs
- MDIControlStrip.cs
- CultureNotFoundException.cs
- ProfileParameter.cs
- TemplateManager.cs
- XmlDataSource.cs
- AutomationElement.cs
- HGlobalSafeHandle.cs
- ArgumentNullException.cs
- CheckBoxStandardAdapter.cs
- WebPartUserCapability.cs
- PerformanceCounterScope.cs
- WebContext.cs
- _CookieModule.cs
- XmlCharCheckingReader.cs
- DataMemberConverter.cs
- SharedDp.cs
- RoutedUICommand.cs
- Environment.cs
- Verify.cs
- ServiceModelConfigurationSection.cs
- Enum.cs
- SyndicationPerson.cs
- SystemIcons.cs
- PrePrepareMethodAttribute.cs
- SqlServer2KCompatibilityCheck.cs
- MonitoringDescriptionAttribute.cs
- ErrorFormatter.cs
- Baml6ConstructorInfo.cs
- NullableLongSumAggregationOperator.cs
- ParseHttpDate.cs
- Matrix3DValueSerializer.cs
- EntityDataSourceChangedEventArgs.cs
- BitmapEffectGeneralTransform.cs
- DecoderReplacementFallback.cs
- TimeoutValidationAttribute.cs
- PtsHelper.cs
- HttpHandlerActionCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- AnnotationAuthorChangedEventArgs.cs
- CurrentTimeZone.cs
- _ListenerRequestStream.cs
- DataServiceClientException.cs
- DrawingBrush.cs
- Select.cs
- SecurityAlgorithmSuite.cs
- CompilationRelaxations.cs
- ObjectSecurity.cs
- SpeechAudioFormatInfo.cs
- BuildManager.cs
- InlinedAggregationOperatorEnumerator.cs
- Win32.cs
- SemaphoreFullException.cs
- Int32CollectionConverter.cs
- ToggleButton.cs
- HttpApplicationFactory.cs
- DrawListViewSubItemEventArgs.cs
- TileBrush.cs
- MappingItemCollection.cs
- RelationshipConstraintValidator.cs
- EndEvent.cs
- DetailsViewUpdatedEventArgs.cs
- Pointer.cs
- DataStreamFromComStream.cs
- COM2ICategorizePropertiesHandler.cs
- SqlXml.cs
- TransformPattern.cs
- CultureInfo.cs
- SecurityContextSecurityToken.cs
- DispatchWrapper.cs
- HtmlContainerControl.cs
- AutoGeneratedFieldProperties.cs
- SurrogateEncoder.cs
- MonikerSyntaxException.cs
- ThicknessAnimationBase.cs
- LineProperties.cs
- ByteStorage.cs
- UnsafeNativeMethodsTablet.cs
- HandlerFactoryWrapper.cs
- SerializationUtility.cs
- StylusCaptureWithinProperty.cs
- AssemblyBuilder.cs
- GC.cs
- ObjectHandle.cs
- JsonXmlDataContract.cs
- RoleManagerModule.cs
- AbandonedMutexException.cs
- ExpressionLexer.cs