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
- PeerApplicationLaunchInfo.cs
- ConfigurationValidatorBase.cs
- EntityTypeEmitter.cs
- RangeExpression.cs
- TargetControlTypeCache.cs
- CommandField.cs
- _SafeNetHandles.cs
- BindingCollection.cs
- ProviderSettings.cs
- ChannelEndpointElement.cs
- NotificationContext.cs
- XamlPoint3DCollectionSerializer.cs
- RepeaterItemEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- RequestCacheValidator.cs
- GeneralTransform3D.cs
- MasterPageCodeDomTreeGenerator.cs
- ArraySegment.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- TextReader.cs
- EdmItemCollection.cs
- SessionEndingCancelEventArgs.cs
- StrokeNodeOperations.cs
- DataGridViewColumnHeaderCell.cs
- GrammarBuilderPhrase.cs
- DataTableCollection.cs
- HttpListener.cs
- PatternMatchRules.cs
- CodeEntryPointMethod.cs
- GACMembershipCondition.cs
- PropertyChangingEventArgs.cs
- _NetworkingPerfCounters.cs
- ActivityCollectionMarkupSerializer.cs
- XmlDictionaryWriter.cs
- FunctionImportElement.cs
- PropertyPathConverter.cs
- QilTargetType.cs
- DataStreamFromComStream.cs
- ImageMapEventArgs.cs
- ColorIndependentAnimationStorage.cs
- FileSystemInfo.cs
- ObjectIDGenerator.cs
- Comparer.cs
- ClientEventManager.cs
- CharEnumerator.cs
- SettingsBindableAttribute.cs
- SchemaObjectWriter.cs
- EdmToObjectNamespaceMap.cs
- GraphicsContainer.cs
- ProxyGenerator.cs
- CollectionViewGroup.cs
- OpenFileDialog.cs
- PeerTransportElement.cs
- WebPartDescription.cs
- PropertyDescriptor.cs
- ApplyTemplatesAction.cs
- PolyLineSegment.cs
- Triangle.cs
- SystemNetHelpers.cs
- TextElementEnumerator.cs
- TextSelectionHelper.cs
- XmlCompatibilityReader.cs
- ConnectionStringsExpressionEditor.cs
- ParameterBuilder.cs
- XmlAnyAttributeAttribute.cs
- ThousandthOfEmRealDoubles.cs
- _ContextAwareResult.cs
- IgnoreDeviceFilterElement.cs
- ListControl.cs
- _ShellExpression.cs
- OlePropertyStructs.cs
- QilReplaceVisitor.cs
- XhtmlBasicPageAdapter.cs
- NavigatorInput.cs
- XamlTemplateSerializer.cs
- OutOfProcStateClientManager.cs
- Logging.cs
- SoapAttributes.cs
- TypeSystem.cs
- ZoomPercentageConverter.cs
- RedistVersionInfo.cs
- PostBackOptions.cs
- Point.cs
- NodeInfo.cs
- WSDualHttpBindingCollectionElement.cs
- SQLByte.cs
- ToolboxItemCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- DescendantBaseQuery.cs
- WMIGenerator.cs
- XmlILOptimizerVisitor.cs
- NativeCompoundFileAPIs.cs
- ArgumentValue.cs
- OleDbConnectionFactory.cs
- AdornerPresentationContext.cs
- CanonicalFormWriter.cs
- UniqueEventHelper.cs
- TableCellAutomationPeer.cs
- DiagnosticSection.cs
- SynchronizationContext.cs