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
- XsltContext.cs
- SamlAuthorityBinding.cs
- CodeComment.cs
- unsafenativemethodstextservices.cs
- StyleHelper.cs
- WindowsProgressbar.cs
- MetadataItemEmitter.cs
- UserControlCodeDomTreeGenerator.cs
- InternalConfigConfigurationFactory.cs
- Automation.cs
- XPathNavigator.cs
- StateRuntime.cs
- SHA512Managed.cs
- SiteMapPath.cs
- FocusTracker.cs
- User.cs
- StylusButtonCollection.cs
- _AuthenticationState.cs
- HashHelper.cs
- FileChangesMonitor.cs
- Stackframe.cs
- ObfuscationAttribute.cs
- GeometryModel3D.cs
- ToolStripContentPanel.cs
- Msmq4SubqueuePoisonHandler.cs
- ZipIOExtraField.cs
- X509Chain.cs
- Matrix3DValueSerializer.cs
- AxisAngleRotation3D.cs
- HashCodeCombiner.cs
- TemplateComponentConnector.cs
- EntityParameterCollection.cs
- ArrayList.cs
- QueryOperatorEnumerator.cs
- TypographyProperties.cs
- SR.Designer.cs
- ValidationVisibilityAttribute.cs
- IDQuery.cs
- ReaderWriterLock.cs
- SqlTypesSchemaImporter.cs
- BuildProviderCollection.cs
- PagesChangedEventArgs.cs
- Privilege.cs
- Validator.cs
- StoreContentChangedEventArgs.cs
- AdRotator.cs
- AnnotationResource.cs
- coordinatorscratchpad.cs
- CriticalExceptions.cs
- TaiwanLunisolarCalendar.cs
- DefaultConfirmation.cs
- DesignerAdapterAttribute.cs
- NullRuntimeConfig.cs
- SqlUnionizer.cs
- RadioButton.cs
- XsdDataContractImporter.cs
- XmlDataSource.cs
- TrustLevelCollection.cs
- DocumentViewerBaseAutomationPeer.cs
- TimeSpanStorage.cs
- BitmapEffectInputConnector.cs
- SecUtil.cs
- DoubleLink.cs
- SectionRecord.cs
- DateBoldEvent.cs
- InterleavedZipPartStream.cs
- SystemInformation.cs
- WeakEventTable.cs
- GridViewDesigner.cs
- UIElement3DAutomationPeer.cs
- SafeFileMappingHandle.cs
- CompareValidator.cs
- MemoryPressure.cs
- ToggleButtonAutomationPeer.cs
- WindowsTooltip.cs
- DragDeltaEventArgs.cs
- ProfileEventArgs.cs
- WebFormDesignerActionService.cs
- Soap.cs
- Brush.cs
- CompareValidator.cs
- InstanceContextMode.cs
- ConfigurationHelpers.cs
- _HeaderInfoTable.cs
- WebRequestModulesSection.cs
- SqlClientPermission.cs
- DashStyle.cs
- ManagedWndProcTracker.cs
- DeviceFilterEditorDialog.cs
- ReadOnlyDictionary.cs
- CommandHelper.cs
- PreviewControlDesigner.cs
- CollectionChangeEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- ContentValidator.cs
- Misc.cs
- ConsoleCancelEventArgs.cs
- FontFamilyIdentifier.cs
- SystemIcons.cs
- BlurBitmapEffect.cs