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
- DiscoveryDocument.cs
- ExpandSegment.cs
- OverflowException.cs
- AsymmetricSignatureDeformatter.cs
- VBCodeProvider.cs
- SequenceFullException.cs
- ProxyGenerationError.cs
- SerialStream.cs
- AdornerDecorator.cs
- BitmapEffectGeneralTransform.cs
- WpfPayload.cs
- RenamedEventArgs.cs
- Matrix.cs
- UnsafeNativeMethods.cs
- MobileControlsSection.cs
- MetadataExporter.cs
- isolationinterop.cs
- AdCreatedEventArgs.cs
- ProcessStartInfo.cs
- Operand.cs
- Int32KeyFrameCollection.cs
- SqlAggregateChecker.cs
- StorageInfo.cs
- BrowserCapabilitiesFactory.cs
- KeyGestureConverter.cs
- PenThreadPool.cs
- ProxyGenerationError.cs
- DataSourceControlBuilder.cs
- TypeHelpers.cs
- CharStorage.cs
- GlyphCache.cs
- Wizard.cs
- TextShapeableCharacters.cs
- AutoResetEvent.cs
- CopyNodeSetAction.cs
- TiffBitmapDecoder.cs
- Pair.cs
- HttpClientChannel.cs
- ConfigXmlCDataSection.cs
- LinkedList.cs
- XmlComment.cs
- IdleTimeoutMonitor.cs
- URL.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ListViewCommandEventArgs.cs
- TableColumn.cs
- Span.cs
- SectionVisual.cs
- DbUpdateCommandTree.cs
- XmlElementList.cs
- PageClientProxyGenerator.cs
- jithelpers.cs
- TrustVersion.cs
- CharConverter.cs
- METAHEADER.cs
- XamlToRtfParser.cs
- FunctionDescription.cs
- TempFiles.cs
- embossbitmapeffect.cs
- XmlDictionary.cs
- ConditionalAttribute.cs
- SqlUserDefinedAggregateAttribute.cs
- DataView.cs
- WebPartTransformerAttribute.cs
- ProxyWebPartConnectionCollection.cs
- XmlComment.cs
- CustomExpression.cs
- ObjectPropertyMapping.cs
- ServerIdentity.cs
- serverconfig.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- httpapplicationstate.cs
- RawStylusSystemGestureInputReport.cs
- StrokeCollection.cs
- ToolStripPanelCell.cs
- DataGridViewCellParsingEventArgs.cs
- WebPartManagerInternals.cs
- ImpersonateTokenRef.cs
- ObjectTypeMapping.cs
- CalendarDay.cs
- FontInfo.cs
- DecimalFormatter.cs
- OleDbException.cs
- OuterGlowBitmapEffect.cs
- SoapSchemaExporter.cs
- DataStreams.cs
- CaseInsensitiveComparer.cs
- TypeListConverter.cs
- XamlRtfConverter.cs
- FileDialog_Vista.cs
- MenuItemStyle.cs
- SecureStringHasher.cs
- NetSectionGroup.cs
- Misc.cs
- SmiEventStream.cs
- ConfigurationElementCollection.cs
- DoubleAnimationClockResource.cs
- QuotedPrintableStream.cs
- DecoderFallback.cs
- OdbcException.cs