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
- CssStyleCollection.cs
- XPathException.cs
- SeekStoryboard.cs
- BaseAddressPrefixFilterElement.cs
- TryCatchDesigner.xaml.cs
- CngAlgorithm.cs
- AffineTransform3D.cs
- XmlNullResolver.cs
- ObsoleteAttribute.cs
- InvalidDataException.cs
- PeerNameRecordCollection.cs
- StorageComplexPropertyMapping.cs
- WindowsStatusBar.cs
- WebHttpDispatchOperationSelectorData.cs
- CompoundFileDeflateTransform.cs
- BindingBase.cs
- ReadOnlyHierarchicalDataSourceView.cs
- diagnosticsswitches.cs
- BooleanAnimationBase.cs
- XmlSchemaSimpleTypeList.cs
- TextRangeEdit.cs
- CommandHelper.cs
- Deserializer.cs
- _ListenerAsyncResult.cs
- HelpInfo.cs
- TwoPhaseCommit.cs
- SchemaTypeEmitter.cs
- XmlSchemaSimpleType.cs
- PipelineModuleStepContainer.cs
- PersonalizationDictionary.cs
- ListViewSortEventArgs.cs
- Attribute.cs
- GlyphRun.cs
- MailHeaderInfo.cs
- formatter.cs
- FormViewInsertedEventArgs.cs
- ProfileSettingsCollection.cs
- CommonGetThemePartSize.cs
- PieceNameHelper.cs
- TriggerCollection.cs
- SqlGatherConsumedAliases.cs
- ConnectivityStatus.cs
- TypeSource.cs
- FontClient.cs
- PointConverter.cs
- ContentIterators.cs
- RelationshipEndMember.cs
- SiteMapHierarchicalDataSourceView.cs
- Comparer.cs
- JsonDeserializer.cs
- VoiceObjectToken.cs
- DoubleAnimationUsingKeyFrames.cs
- _SafeNetHandles.cs
- ProvidersHelper.cs
- GenericWebPart.cs
- TraceContextEventArgs.cs
- EventItfInfo.cs
- WebServiceData.cs
- FormatStringEditor.cs
- CollectionViewGroupRoot.cs
- UserPersonalizationStateInfo.cs
- SqlCommand.cs
- MimeParameters.cs
- TCEAdapterGenerator.cs
- DataQuery.cs
- TrustSection.cs
- FlowDocumentReaderAutomationPeer.cs
- TabControlDesigner.cs
- SerializationStore.cs
- AdornerPresentationContext.cs
- PowerStatus.cs
- MarkedHighlightComponent.cs
- Attributes.cs
- ToolStripProgressBar.cs
- GenericXmlSecurityTokenAuthenticator.cs
- CancellationHandlerDesigner.cs
- SafeFileHandle.cs
- Transform.cs
- SystemEvents.cs
- SqlGenerator.cs
- SimpleHandlerFactory.cs
- ProfileService.cs
- MobileControlsSectionHandler.cs
- XmlDocument.cs
- ScrollViewer.cs
- PropertyMapper.cs
- COM2IPerPropertyBrowsingHandler.cs
- TextDecoration.cs
- TrustManager.cs
- CfgParser.cs
- TypedElement.cs
- MessageQueueKey.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- CodeIdentifier.cs
- MatrixStack.cs
- MetadataCollection.cs
- SerializableAuthorizationContext.cs
- KeyValueConfigurationCollection.cs
- AuthenticationModuleElementCollection.cs
- BinaryMethodMessage.cs