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
- MemberNameValidator.cs
- ContainerControl.cs
- CheckBoxPopupAdapter.cs
- ThreadSafeList.cs
- ProgramPublisher.cs
- SoapAttributes.cs
- SqlServices.cs
- ParameterModifier.cs
- Stackframe.cs
- AssociationSetMetadata.cs
- AuthenticationModulesSection.cs
- ScriptResourceMapping.cs
- MenuItemCollection.cs
- XmlTypeAttribute.cs
- MenuItem.cs
- StatementContext.cs
- SmtpReplyReaderFactory.cs
- LocalFileSettingsProvider.cs
- ProcessHostConfigUtils.cs
- CodeDomDecompiler.cs
- ConfigurationSectionHelper.cs
- InkPresenter.cs
- PropertySegmentSerializationProvider.cs
- RoutingSection.cs
- SimpleHandlerFactory.cs
- XmlSchemaComplexContentRestriction.cs
- InputScope.cs
- OdbcHandle.cs
- XmlSignificantWhitespace.cs
- HMACMD5.cs
- SerializationEventsCache.cs
- RadialGradientBrush.cs
- ObjectIDGenerator.cs
- ObjectViewQueryResultData.cs
- FormViewCommandEventArgs.cs
- Renderer.cs
- Point3DValueSerializer.cs
- GPRECT.cs
- LoadedOrUnloadedOperation.cs
- TextRangeSerialization.cs
- RequestCachePolicyConverter.cs
- TreeNodeMouseHoverEvent.cs
- DataGridViewHeaderCell.cs
- DbConnectionPoolIdentity.cs
- DesignerVerb.cs
- WebPartDisplayMode.cs
- ClientBuildManager.cs
- PrePrepareMethodAttribute.cs
- ExecutionEngineException.cs
- Int64.cs
- RequestQueryProcessor.cs
- List.cs
- EtwTrackingBehavior.cs
- EventItfInfo.cs
- HandlerBase.cs
- DesignerActionHeaderItem.cs
- CrossAppDomainChannel.cs
- RoutingSection.cs
- PermissionListSet.cs
- XamlSerializerUtil.cs
- WebScriptEndpointElement.cs
- HierarchicalDataBoundControlAdapter.cs
- NameValueConfigurationCollection.cs
- GZipDecoder.cs
- WebBrowserSiteBase.cs
- SQLGuid.cs
- JapaneseLunisolarCalendar.cs
- CatalogPartCollection.cs
- MailSettingsSection.cs
- FormViewUpdateEventArgs.cs
- DefaultParameterValueAttribute.cs
- TraceLevelHelper.cs
- XamlPathDataSerializer.cs
- CoreChannel.cs
- Visitors.cs
- PtsContext.cs
- WebBrowserPermission.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- OracleParameterBinding.cs
- DataGridCommandEventArgs.cs
- SqlConnection.cs
- WmlSelectionListAdapter.cs
- ObjectManager.cs
- ParameterInfo.cs
- ThemeDictionaryExtension.cs
- CatalogUtil.cs
- NameValueSectionHandler.cs
- CompositeCollectionView.cs
- HostVisual.cs
- DummyDataSource.cs
- OdbcInfoMessageEvent.cs
- SmiContextFactory.cs
- XmlCodeExporter.cs
- RadioButtonDesigner.cs
- NativeMethods.cs
- AttachmentCollection.cs
- FrameworkObject.cs
- XmlCharacterData.cs
- Propagator.JoinPropagator.cs
- DateTimeFormatInfoScanner.cs