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
- EntityDataSourceWrapperCollection.cs
- UdpMessageProperty.cs
- VScrollBar.cs
- DnsEndPoint.cs
- BaseDataBoundControl.cs
- X509WindowsSecurityToken.cs
- SqlConnectionStringBuilder.cs
- TypedTableBaseExtensions.cs
- TrackingProfile.cs
- SqlUDTStorage.cs
- ConnectionManagementSection.cs
- SqlUnionizer.cs
- CodeAssignStatement.cs
- DefaultParameterValueAttribute.cs
- DataException.cs
- HierarchicalDataSourceControl.cs
- RuntimeTransactionHandle.cs
- BrowserCapabilitiesCompiler.cs
- SafeHandles.cs
- MergeLocalizationDirectives.cs
- MouseButtonEventArgs.cs
- EncoderParameters.cs
- AsymmetricKeyExchangeFormatter.cs
- SpeechDetectedEventArgs.cs
- ProcessModelInfo.cs
- RadioButtonFlatAdapter.cs
- iisPickupDirectory.cs
- RuleRef.cs
- TextView.cs
- XhtmlBasicValidatorAdapter.cs
- webproxy.cs
- MD5Cng.cs
- VBCodeProvider.cs
- ToolStripPanelCell.cs
- EnumValidator.cs
- ProcessManager.cs
- PopupEventArgs.cs
- NotConverter.cs
- PrintDialog.cs
- ObjectSet.cs
- RtfToXamlReader.cs
- CultureTable.cs
- QilInvokeEarlyBound.cs
- BamlRecordReader.cs
- MulticastOption.cs
- HtmlInputHidden.cs
- DataGridTableCollection.cs
- EntryPointNotFoundException.cs
- ChangeToolStripParentVerb.cs
- FilteredXmlReader.cs
- SystemIPGlobalStatistics.cs
- RoleManagerSection.cs
- XmlSortKey.cs
- DesignerActionUI.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- DBSchemaRow.cs
- Documentation.cs
- UnknownWrapper.cs
- Polyline.cs
- sortedlist.cs
- BoundingRectTracker.cs
- ControlBuilderAttribute.cs
- XmlCustomFormatter.cs
- GridEntryCollection.cs
- XmlILOptimizerVisitor.cs
- TransformerConfigurationWizardBase.cs
- BoundPropertyEntry.cs
- ArrangedElementCollection.cs
- CorrelationQuery.cs
- DefaultPropertyAttribute.cs
- WorkflowEnvironment.cs
- ControlValuePropertyAttribute.cs
- DataSetUtil.cs
- SpecularMaterial.cs
- SingleSelectRootGridEntry.cs
- CLRBindingWorker.cs
- ContainsRowNumberChecker.cs
- OverflowException.cs
- ClassValidator.cs
- ControlDesigner.cs
- WindowsListViewItemStartMenu.cs
- LinearQuaternionKeyFrame.cs
- ProxyWebPartConnectionCollection.cs
- HttpRuntimeSection.cs
- FilteredDataSetHelper.cs
- XmlSchemas.cs
- PropertyValueUIItem.cs
- EntityDesignerBuildProvider.cs
- DbTransaction.cs
- SwitchAttribute.cs
- QilInvokeEarlyBound.cs
- WebPartZoneCollection.cs
- DataGridViewCell.cs
- HttpTransportSecurity.cs
- dataobject.cs
- WebPartDisplayModeCollection.cs
- ExceptionHelpers.cs
- XPathSelectionIterator.cs
- ZoneIdentityPermission.cs
- BamlCollectionHolder.cs