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
- LassoSelectionBehavior.cs
- SqlDataSourceStatusEventArgs.cs
- KoreanCalendar.cs
- NameValueFileSectionHandler.cs
- CheckoutException.cs
- Repeater.cs
- ServicePointManagerElement.cs
- ToolStripSeparator.cs
- FocusTracker.cs
- IncrementalHitTester.cs
- AnimationLayer.cs
- QilPatternVisitor.cs
- ComboBoxAutomationPeer.cs
- SurrogateSelector.cs
- Brush.cs
- DataControlHelper.cs
- Logging.cs
- SHA512.cs
- ColorKeyFrameCollection.cs
- BitmapCodecInfo.cs
- EntitySet.cs
- DefaultObjectMappingItemCollection.cs
- LinkButton.cs
- ColumnMapTranslator.cs
- _NTAuthentication.cs
- SnapLine.cs
- LazyInitializer.cs
- SuppressMergeCheckAttribute.cs
- XmlCountingReader.cs
- SystemGatewayIPAddressInformation.cs
- PermissionListSet.cs
- OperandQuery.cs
- ClientSettingsProvider.cs
- PointCollectionValueSerializer.cs
- AspCompat.cs
- StringArrayEditor.cs
- SafeEventLogWriteHandle.cs
- EncodedStreamFactory.cs
- odbcmetadatacolumnnames.cs
- Stylesheet.cs
- RecordManager.cs
- WebPartMenuStyle.cs
- TextEditorThreadLocalStore.cs
- basenumberconverter.cs
- assemblycache.cs
- SafeFileMapViewHandle.cs
- XmlDownloadManager.cs
- Win32.cs
- PreviewKeyDownEventArgs.cs
- ValueType.cs
- SingleSelectRootGridEntry.cs
- SafeCloseHandleCritical.cs
- DesignerInterfaces.cs
- CookieProtection.cs
- InstanceData.cs
- DbTypeMap.cs
- ZipFileInfo.cs
- SqlDataSourceEnumerator.cs
- TypeConverterHelper.cs
- Verify.cs
- VisualCollection.cs
- StringAnimationUsingKeyFrames.cs
- GenericsInstances.cs
- PageFunction.cs
- DynamicResourceExtensionConverter.cs
- IsolatedStorageFilePermission.cs
- HGlobalSafeHandle.cs
- LayoutInformation.cs
- HMACSHA1.cs
- LinqDataSourceSelectEventArgs.cs
- Image.cs
- ResourceReferenceExpression.cs
- Vector3DCollectionValueSerializer.cs
- Thread.cs
- codemethodreferenceexpression.cs
- DigestTraceRecordHelper.cs
- IndexingContentUnit.cs
- FolderNameEditor.cs
- RepeaterDataBoundAdapter.cs
- LocalizationParserHooks.cs
- Clock.cs
- XamlStream.cs
- View.cs
- OracleRowUpdatingEventArgs.cs
- Int64.cs
- WebPartChrome.cs
- VectorAnimationUsingKeyFrames.cs
- SafeFileMapViewHandle.cs
- RulePatternOps.cs
- TrustManager.cs
- HostingEnvironment.cs
- DesigntimeLicenseContext.cs
- ButtonRenderer.cs
- ToolStripItemDesigner.cs
- OperationAbortedException.cs
- SymDocumentType.cs
- NavigationEventArgs.cs
- IFormattable.cs
- ByteRangeDownloader.cs
- ParamArrayAttribute.cs