Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Substitution.cs
- CaseInsensitiveHashCodeProvider.cs
- WeakReferenceKey.cs
- ContextMenuStripGroup.cs
- SqlDataReaderSmi.cs
- FlowNode.cs
- UnmanagedBitmapWrapper.cs
- DragDrop.cs
- DiagnosticTraceSource.cs
- MaterialGroup.cs
- JsonDeserializer.cs
- CryptoKeySecurity.cs
- QilInvoke.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- WriteableBitmap.cs
- AliasedExpr.cs
- DataGridViewCellEventArgs.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Rfc2898DeriveBytes.cs
- EntitySqlQueryState.cs
- DesignerDataTableBase.cs
- FontDriver.cs
- TreeViewAutomationPeer.cs
- HierarchicalDataTemplate.cs
- DataBinder.cs
- ButtonField.cs
- DelegateBodyWriter.cs
- ParseNumbers.cs
- DataSourceNameHandler.cs
- EncodingDataItem.cs
- ListViewItemCollectionEditor.cs
- SymbolEqualComparer.cs
- DateBoldEvent.cs
- FormsAuthenticationEventArgs.cs
- TrackPoint.cs
- ResXFileRef.cs
- XmlUtil.cs
- Typography.cs
- SoapInteropTypes.cs
- InternalCache.cs
- DiscardableAttribute.cs
- CodeCastExpression.cs
- UserControl.cs
- _UriTypeConverter.cs
- SecureStringHasher.cs
- ActiveXMessageFormatter.cs
- precedingsibling.cs
- XsdValidatingReader.cs
- TextTreeText.cs
- MediaElementAutomationPeer.cs
- MetafileHeader.cs
- unsafenativemethodstextservices.cs
- JsonEnumDataContract.cs
- CssTextWriter.cs
- LocalizationParserHooks.cs
- FrameAutomationPeer.cs
- AnimationException.cs
- CapabilitiesAssignment.cs
- SettingsPropertyValueCollection.cs
- _SSPISessionCache.cs
- SqlNotificationRequest.cs
- ResourceContainer.cs
- PersonalizationState.cs
- AliasedSlot.cs
- EnterpriseServicesHelper.cs
- Size3D.cs
- DefaultTypeArgumentAttribute.cs
- DynamicDataExtensions.cs
- ScrollBar.cs
- IdnMapping.cs
- CompensatableTransactionScopeActivityDesigner.cs
- SpStreamWrapper.cs
- KnownBoxes.cs
- RegionInfo.cs
- AutoGeneratedFieldProperties.cs
- SqlCommandBuilder.cs
- IndexerNameAttribute.cs
- updateconfighost.cs
- SystemException.cs
- CompiledQueryCacheEntry.cs
- RegexGroup.cs
- RenderCapability.cs
- Attributes.cs
- SemaphoreFullException.cs
- RuntimeCompatibilityAttribute.cs
- OdbcCommandBuilder.cs
- MimeReturn.cs
- WebServiceEnumData.cs
- PageRanges.cs
- Executor.cs
- WebSysDefaultValueAttribute.cs
- ValueSerializer.cs
- ColorTranslator.cs
- FixedSOMFixedBlock.cs
- UIElement3D.cs
- ScriptServiceAttribute.cs
- CacheSection.cs
- KeyInterop.cs
- Propagator.JoinPropagator.cs
- StrokeFIndices.cs