Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SystemIPInterfaceStatistics.cs
- DataListItemEventArgs.cs
- MDIWindowDialog.cs
- CheckBoxPopupAdapter.cs
- RelationshipType.cs
- MsmqAppDomainProtocolHandler.cs
- FontWeights.cs
- MenuItem.cs
- DelegateBodyWriter.cs
- TraceInternal.cs
- SQLUtility.cs
- SRef.cs
- LayoutExceptionEventArgs.cs
- XAMLParseException.cs
- CollectionViewProxy.cs
- ReaderWriterLock.cs
- DebugHandleTracker.cs
- DataGridViewButtonColumn.cs
- FontDialog.cs
- HyperLink.cs
- OdbcConnectionStringbuilder.cs
- SerializationEventsCache.cs
- HeaderedContentControl.cs
- EntityDataReader.cs
- ProgressBar.cs
- EntryWrittenEventArgs.cs
- LocatorBase.cs
- TypeGeneratedEventArgs.cs
- StyleBamlTreeBuilder.cs
- AccessText.cs
- ServicesUtilities.cs
- ClientSettingsProvider.cs
- WriteFileContext.cs
- ServiceProviders.cs
- ReadOnlyHierarchicalDataSource.cs
- Delegate.cs
- PackageDigitalSignature.cs
- PngBitmapEncoder.cs
- ExceptQueryOperator.cs
- MLangCodePageEncoding.cs
- OdbcConnectionPoolProviderInfo.cs
- Matrix3DConverter.cs
- ReadOnlyPropertyMetadata.cs
- ScriptServiceAttribute.cs
- SrgsRuleRef.cs
- ExpanderAutomationPeer.cs
- Tokenizer.cs
- TextMessageEncodingElement.cs
- TripleDESCryptoServiceProvider.cs
- CodeTypeDeclarationCollection.cs
- MenuAutomationPeer.cs
- Int64KeyFrameCollection.cs
- CreateUserWizardStep.cs
- SimpleWorkerRequest.cs
- InputLanguageCollection.cs
- FilterQuery.cs
- FilteredAttributeCollection.cs
- IntegrationExceptionEventArgs.cs
- WebUtility.cs
- TreeViewImageIndexConverter.cs
- ToolStripItem.cs
- QueryResults.cs
- TextInfo.cs
- PersonalizationStateInfoCollection.cs
- AppearanceEditorPart.cs
- PartitionedDataSource.cs
- CollectionViewGroup.cs
- DataServicePagingProviderWrapper.cs
- Automation.cs
- QilChoice.cs
- CheckBoxRenderer.cs
- CultureNotFoundException.cs
- SqlServer2KCompatibilityCheck.cs
- StylusPointDescription.cs
- NativeMethods.cs
- EventProxy.cs
- OdbcUtils.cs
- SingleResultAttribute.cs
- ExtendedTransformFactory.cs
- AssemblyHash.cs
- DecoderExceptionFallback.cs
- Span.cs
- DataGridColumnCollectionEditor.cs
- ConfigXmlComment.cs
- ValueExpressions.cs
- HighlightComponent.cs
- RuntimeIdentifierPropertyAttribute.cs
- WorkflowService.cs
- CriticalExceptions.cs
- NavigatorOutput.cs
- ToolstripProfessionalRenderer.cs
- DynamicPropertyHolder.cs
- EnumUnknown.cs
- StringCollection.cs
- ServiceDescriptionReflector.cs
- InfoCardAsymmetricCrypto.cs
- XPathDocumentIterator.cs
- GenerateScriptTypeAttribute.cs
- AssociationTypeEmitter.cs
- ListItemParagraph.cs