Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridViewSortEventArgs.cs
- NameGenerator.cs
- SettingsBase.cs
- PropertyKey.cs
- SeekStoryboard.cs
- HtmlHistory.cs
- DataObject.cs
- BitmapEffectDrawing.cs
- UndirectedGraph.cs
- Header.cs
- Rotation3DKeyFrameCollection.cs
- WmpBitmapDecoder.cs
- ICollection.cs
- ObjectMaterializedEventArgs.cs
- FontCacheLogic.cs
- elementinformation.cs
- DiscoveryClientDuplexChannel.cs
- SoapHeaderAttribute.cs
- FontCollection.cs
- DisplayMemberTemplateSelector.cs
- QilReplaceVisitor.cs
- TypeConverterValueSerializer.cs
- RoleGroup.cs
- UIElementPropertyUndoUnit.cs
- CodePrimitiveExpression.cs
- Sequence.cs
- PartialTrustVisibleAssembliesSection.cs
- SmtpNetworkElement.cs
- JsonByteArrayDataContract.cs
- BoundingRectTracker.cs
- CodeTryCatchFinallyStatement.cs
- XPathAxisIterator.cs
- SchemaDeclBase.cs
- GeometryConverter.cs
- LocatorManager.cs
- PartialClassGenerationTask.cs
- ComEventsHelper.cs
- elementinformation.cs
- PassportIdentity.cs
- WrapPanel.cs
- __Filters.cs
- WindowProviderWrapper.cs
- XXXOnTypeBuilderInstantiation.cs
- ObjectQueryProvider.cs
- XmlQueryType.cs
- OrderedHashRepartitionEnumerator.cs
- HGlobalSafeHandle.cs
- RelatedPropertyManager.cs
- BindingNavigator.cs
- PeerObject.cs
- VersionPair.cs
- XmlILTrace.cs
- Pkcs9Attribute.cs
- SQLDecimal.cs
- ThreadStartException.cs
- SimpleType.cs
- ItemCheckEvent.cs
- lengthconverter.cs
- ToolboxComponentsCreatedEventArgs.cs
- _StreamFramer.cs
- IdentityReference.cs
- SwitchLevelAttribute.cs
- ChildDocumentBlock.cs
- RowsCopiedEventArgs.cs
- TraceLog.cs
- XmlSchemaDatatype.cs
- Preprocessor.cs
- EntityViewGenerationAttribute.cs
- unsafeIndexingFilterStream.cs
- SettingsAttributes.cs
- exports.cs
- MappingException.cs
- TogglePatternIdentifiers.cs
- HtmlHistory.cs
- InstanceDataCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- SizeValueSerializer.cs
- ProcessHostServerConfig.cs
- ChangeDirector.cs
- XmlEntity.cs
- Point3DConverter.cs
- BitStack.cs
- SerialStream.cs
- FrameworkRichTextComposition.cs
- XNameConverter.cs
- WebPartTransformerCollection.cs
- ReachVisualSerializerAsync.cs
- ListViewTableCell.cs
- PathSegmentCollection.cs
- BitStack.cs
- SchemaImporterExtensionsSection.cs
- XmlMemberMapping.cs
- IDispatchConstantAttribute.cs
- TransformDescriptor.cs
- PocoPropertyAccessorStrategy.cs
- PageRequestManager.cs
- WebSysDisplayNameAttribute.cs
- ExtendedProperty.cs
- UrlAuthFailureHandler.cs
- StsCommunicationException.cs