Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- PropertyRecord.cs
- TcpChannelHelper.cs
- UnsafeNativeMethods.cs
- HttpProfileBase.cs
- RuntimeHandles.cs
- SmtpFailedRecipientException.cs
- UrlMappingCollection.cs
- HttpConfigurationSystem.cs
- PriorityBinding.cs
- StringHandle.cs
- RawStylusInputCustomDataList.cs
- AudioDeviceOut.cs
- GeometryHitTestParameters.cs
- TextDocumentView.cs
- RoleGroup.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- UndoEngine.cs
- OdbcException.cs
- IntSecurity.cs
- ParameterReplacerVisitor.cs
- Point.cs
- PersonalizationEntry.cs
- DataList.cs
- OleDbEnumerator.cs
- QuadraticBezierSegment.cs
- Matrix.cs
- ItemCheckedEvent.cs
- ObjectNotFoundException.cs
- ClientSideProviderDescription.cs
- CodeSubDirectoriesCollection.cs
- OuterGlowBitmapEffect.cs
- BooleanToVisibilityConverter.cs
- VisualBrush.cs
- Certificate.cs
- LayoutInformation.cs
- MenuAdapter.cs
- StructureChangedEventArgs.cs
- ResourceSet.cs
- ServiceTimeoutsBehavior.cs
- basenumberconverter.cs
- UpdateInfo.cs
- ExceptionRoutedEventArgs.cs
- HwndHostAutomationPeer.cs
- SourceFileBuildProvider.cs
- CurrencyWrapper.cs
- TreeNodeBinding.cs
- BufferModesCollection.cs
- _HeaderInfo.cs
- PropertyMapper.cs
- AsyncOperation.cs
- VectorConverter.cs
- StreamedWorkflowDefinitionContext.cs
- Stackframe.cs
- ViewCellSlot.cs
- Vector3DCollectionConverter.cs
- EnumValidator.cs
- SrgsNameValueTag.cs
- RequestSecurityToken.cs
- DaylightTime.cs
- ArrangedElement.cs
- DataKeyArray.cs
- UniqueIdentifierService.cs
- FormViewDeleteEventArgs.cs
- Expr.cs
- WebPartEventArgs.cs
- BaseHashHelper.cs
- RewritingPass.cs
- SvcMapFile.cs
- HtmlAnchor.cs
- CqlQuery.cs
- MediaTimeline.cs
- ListenUriMode.cs
- IdnMapping.cs
- SyndicationCategory.cs
- CodeSubDirectoriesCollection.cs
- RemotingServices.cs
- HtmlWindowCollection.cs
- RegistrationServices.cs
- MatchingStyle.cs
- SqlBuilder.cs
- BulletChrome.cs
- GridViewColumnHeader.cs
- UnsafeMethods.cs
- KoreanLunisolarCalendar.cs
- PlaceHolder.cs
- SqlException.cs
- AppDomainCompilerProxy.cs
- BaseValidator.cs
- WebPartConnectVerb.cs
- ArraySet.cs
- sqlcontext.cs
- TextRangeBase.cs
- SafeCryptHandles.cs
- Stopwatch.cs
- GPPOINTF.cs
- KeyedCollection.cs
- DragSelectionMessageFilter.cs
- Automation.cs
- ValidationSummaryDesigner.cs
- _NTAuthentication.cs