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
- XamlSerializationHelper.cs
- WebBrowserUriTypeConverter.cs
- RowType.cs
- DashStyle.cs
- ProfilePropertySettings.cs
- EditorPart.cs
- OrderPreservingMergeHelper.cs
- sitestring.cs
- BamlResourceSerializer.cs
- WebPartDisplayModeEventArgs.cs
- OuterGlowBitmapEffect.cs
- DateTimeConstantAttribute.cs
- TypeElementCollection.cs
- CreateUserErrorEventArgs.cs
- ActivitySurrogate.cs
- CommandBindingCollection.cs
- DbXmlEnabledProviderManifest.cs
- SiteMapNodeItemEventArgs.cs
- ClientRoleProvider.cs
- StylusPointPropertyId.cs
- DocumentOrderComparer.cs
- UnsafeNativeMethods.cs
- CodeAttributeArgumentCollection.cs
- WorkflowItemsPresenter.cs
- DataGridTextBoxColumn.cs
- RoutingService.cs
- GenericTypeParameterBuilder.cs
- TextProperties.cs
- AxParameterData.cs
- querybuilder.cs
- TableRowGroup.cs
- BoundColumn.cs
- DetailsViewRow.cs
- ProcessHost.cs
- GraphicsContext.cs
- ScriptControl.cs
- RC2.cs
- Win32.cs
- RoutedCommand.cs
- XmlSchemaObject.cs
- DataGridPageChangedEventArgs.cs
- TrackingProfileCache.cs
- CalendarTable.cs
- PointConverter.cs
- ManifestResourceInfo.cs
- ReaderWriterLock.cs
- RootProfilePropertySettingsCollection.cs
- GridViewSortEventArgs.cs
- HitTestFilterBehavior.cs
- DataSourceCacheDurationConverter.cs
- BasicExpandProvider.cs
- XmlSchemaValidationException.cs
- DynamicRouteExpression.cs
- ContainerActivationHelper.cs
- AsyncStreamReader.cs
- FlowchartStart.xaml.cs
- DBSqlParserTableCollection.cs
- StringToken.cs
- SimplePropertyEntry.cs
- MDIWindowDialog.cs
- BinaryQueryOperator.cs
- DependentList.cs
- DataBinder.cs
- BuiltInPermissionSets.cs
- PassportPrincipal.cs
- ProxyWebPart.cs
- EncodingInfo.cs
- PackagePartCollection.cs
- WinCategoryAttribute.cs
- MediaPlayerState.cs
- ToolStripProgressBar.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- Selector.cs
- SecondaryIndex.cs
- Triplet.cs
- CacheHelper.cs
- RoleGroup.cs
- BamlRecords.cs
- Accessible.cs
- TransactionBridge.cs
- EasingKeyFrames.cs
- ContractMapping.cs
- FontCacheLogic.cs
- Block.cs
- ColumnClickEvent.cs
- ChildTable.cs
- RTLAwareMessageBox.cs
- EventListenerClientSide.cs
- ColorAnimation.cs
- EraserBehavior.cs
- ActiveXHelper.cs
- GroupByExpressionRewriter.cs
- ReachSerializableProperties.cs
- ZoneLinkButton.cs
- Scheduler.cs
- XmlTypeMapping.cs
- RawKeyboardInputReport.cs
- WebPartExportVerb.cs
- FlowLayoutSettings.cs
- InvalidCastException.cs