Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Utils.cs
- GradientBrush.cs
- XPathNode.cs
- SamlAction.cs
- ObjectDataSourceMethodEventArgs.cs
- DataGridToolTip.cs
- SimplePropertyEntry.cs
- ResourcePermissionBaseEntry.cs
- TextRunCache.cs
- EdgeModeValidation.cs
- CursorConverter.cs
- ControlParser.cs
- HttpSessionStateWrapper.cs
- ScrollBar.cs
- FunctionQuery.cs
- QueryStringHandler.cs
- WindowsHyperlink.cs
- DbConnectionPoolGroupProviderInfo.cs
- Formatter.cs
- StringUtil.cs
- VideoDrawing.cs
- DataGridViewCellConverter.cs
- PolyLineSegment.cs
- AuthenticationModuleElementCollection.cs
- QueueProcessor.cs
- HostUtils.cs
- AtomParser.cs
- OperandQuery.cs
- ProfileInfo.cs
- ImmutableObjectAttribute.cs
- ProjectionNode.cs
- InvokeMethodActivityDesigner.cs
- MetadataStore.cs
- XmlDocumentSerializer.cs
- Light.cs
- EntitySetBase.cs
- IconHelper.cs
- Point3DKeyFrameCollection.cs
- RoutingExtensionElement.cs
- SecurityContext.cs
- TransactedBatchContext.cs
- DeleteWorkflowOwnerCommand.cs
- oledbconnectionstring.cs
- ApplicationServiceManager.cs
- SmiSettersStream.cs
- Validator.cs
- LinkedResource.cs
- CompiledELinqQueryState.cs
- SpellCheck.cs
- ActivityAction.cs
- DataServiceResponse.cs
- RSACryptoServiceProvider.cs
- GridViewUpdatedEventArgs.cs
- TaskFactory.cs
- SafeCryptHandles.cs
- BoolExpression.cs
- CreateUserWizardStep.cs
- BufferedStream.cs
- SpecularMaterial.cs
- PageAsyncTask.cs
- ImmutableDispatchRuntime.cs
- CompoundFileDeflateTransform.cs
- ConfigurationSectionGroupCollection.cs
- UInt32.cs
- shaperfactoryquerycacheentry.cs
- RemotingServices.cs
- Trigger.cs
- UntypedNullExpression.cs
- TableCellCollection.cs
- CultureTable.cs
- WrappedIUnknown.cs
- CodeDefaultValueExpression.cs
- Frame.cs
- ArcSegment.cs
- WorkflowStateRollbackService.cs
- TextWriterTraceListener.cs
- ComponentRenameEvent.cs
- MexNamedPipeBindingCollectionElement.cs
- DbConnectionInternal.cs
- EdmProperty.cs
- RevocationPoint.cs
- AutomationPropertyInfo.cs
- VBCodeProvider.cs
- MemberHolder.cs
- GetIndexBinder.cs
- SamlAssertionKeyIdentifierClause.cs
- ComponentCollection.cs
- DataGridViewBand.cs
- TextBoxAutoCompleteSourceConverter.cs
- ArithmeticException.cs
- Lease.cs
- ItemDragEvent.cs
- SessionPageStatePersister.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DeferredTextReference.cs
- XmlNodeReader.cs
- CommandID.cs
- ReplacementText.cs
- ParallelLoopState.cs
- PageCatalogPart.cs