Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }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
- XPathPatternParser.cs
- ParserExtension.cs
- XmlDataLoader.cs
- HostVisual.cs
- Substitution.cs
- EntityModelSchemaGenerator.cs
- DependentList.cs
- HttpRequest.cs
- GenericWebPart.cs
- ServiceOperationParameter.cs
- PackWebResponse.cs
- BaseAsyncResult.cs
- PageContentCollection.cs
- BuildProviderUtils.cs
- NameScope.cs
- TrackingMemoryStreamFactory.cs
- PageParserFilter.cs
- ViewBox.cs
- OutputScopeManager.cs
- mda.cs
- OdbcException.cs
- ParseChildrenAsPropertiesAttribute.cs
- DataObject.cs
- ConfigXmlWhitespace.cs
- ColorConvertedBitmap.cs
- TimeoutStream.cs
- MemoryMappedView.cs
- TableLayout.cs
- PolyLineSegment.cs
- ErrorLog.cs
- SafeUserTokenHandle.cs
- ScriptResourceHandler.cs
- DbConnectionPoolGroupProviderInfo.cs
- EventLog.cs
- SmiConnection.cs
- RequestCachePolicyConverter.cs
- TransactionFlowElement.cs
- MsmqIntegrationBindingElement.cs
- MetadataArtifactLoaderResource.cs
- Hashtable.cs
- XamlRtfConverter.cs
- __ComObject.cs
- MexTcpBindingCollectionElement.cs
- _OSSOCK.cs
- TextSpan.cs
- ModelTreeEnumerator.cs
- SchemaCollectionPreprocessor.cs
- nulltextnavigator.cs
- InkPresenterAutomationPeer.cs
- RootDesignerSerializerAttribute.cs
- ButtonChrome.cs
- RuntimeEnvironment.cs
- CustomErrorCollection.cs
- Propagator.ExtentPlaceholderCreator.cs
- RuntimeComponentFilter.cs
- EditBehavior.cs
- ArrangedElementCollection.cs
- BypassElementCollection.cs
- RSAPKCS1SignatureFormatter.cs
- PropertyPushdownHelper.cs
- ComponentEditorForm.cs
- HostingPreferredMapPath.cs
- MemberInitExpression.cs
- MoveSizeWinEventHandler.cs
- DiscoveryExceptionDictionary.cs
- CustomAttribute.cs
- WebPartActionVerb.cs
- PersistenceException.cs
- _Rfc2616CacheValidators.cs
- StandardCommands.cs
- Operand.cs
- XmlArrayAttribute.cs
- ConfigPathUtility.cs
- XmlAttribute.cs
- AsyncResult.cs
- Base64Decoder.cs
- RetrieveVirtualItemEventArgs.cs
- SettingsContext.cs
- StrongNameKeyPair.cs
- X509Certificate2Collection.cs
- DependencyPropertyAttribute.cs
- HttpWebRequest.cs
- ChameleonKey.cs
- SoapSchemaExporter.cs
- InputLangChangeEvent.cs
- DataTableReader.cs
- ErrorTableItemStyle.cs
- MergeFilterQuery.cs
- ListViewItemSelectionChangedEvent.cs
- OleDbMetaDataFactory.cs
- GroupLabel.cs
- QueryOutputWriter.cs
- AdRotator.cs
- TransformerConfigurationWizardBase.cs
- ListViewInsertEventArgs.cs
- UxThemeWrapper.cs
- OutKeywords.cs
- EventRouteFactory.cs
- MediaPlayer.cs
- TreeNodeMouseHoverEvent.cs