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
- WebControl.cs
- ErrorItem.cs
- DateBoldEvent.cs
- XPathNavigatorReader.cs
- HashHelper.cs
- MD5Cng.cs
- MouseButtonEventArgs.cs
- SiteMapSection.cs
- RbTree.cs
- ClientApiGenerator.cs
- DataGridViewComboBoxEditingControl.cs
- Config.cs
- LocalizationParserHooks.cs
- NameObjectCollectionBase.cs
- XmlStreamStore.cs
- QueryActivatableWorkflowsCommand.cs
- ResourcePermissionBaseEntry.cs
- mediaeventshelper.cs
- ReflectionPermission.cs
- StateFinalizationActivity.cs
- Function.cs
- SqlNotificationEventArgs.cs
- DbDataAdapter.cs
- SplitterEvent.cs
- BatchParser.cs
- ApplicationFileParser.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- FileVersion.cs
- PropertyCondition.cs
- StdRegProviderWrapper.cs
- MethodBuilderInstantiation.cs
- ImageConverter.cs
- CookieParameter.cs
- VisualStyleTypesAndProperties.cs
- DocumentScope.cs
- TextRangeEditLists.cs
- DrawingAttributes.cs
- DataGrid.cs
- TimeoutHelper.cs
- XmlSchemaSimpleTypeList.cs
- Command.cs
- HtmlTableCell.cs
- SecurityTokenProvider.cs
- TemplatePagerField.cs
- Accessors.cs
- MSAANativeProvider.cs
- ProcessStartInfo.cs
- FontDriver.cs
- XmlQuerySequence.cs
- ElementNotAvailableException.cs
- DbProviderServices.cs
- ComNativeDescriptor.cs
- Size.cs
- SR.cs
- EnterpriseServicesHelper.cs
- VisualStyleElement.cs
- NamespaceCollection.cs
- TypeBuilderInstantiation.cs
- IgnoreFileBuildProvider.cs
- SqlComparer.cs
- TransactionScope.cs
- SerializationStore.cs
- WinFormsComponentEditor.cs
- StaticExtensionConverter.cs
- EnvelopedPkcs7.cs
- ProfilePropertySettings.cs
- MenuCommand.cs
- RectangleGeometry.cs
- InternalBufferOverflowException.cs
- WsdlBuildProvider.cs
- EnumValAlphaComparer.cs
- Fonts.cs
- XPathDescendantIterator.cs
- EditorZone.cs
- XamlFigureLengthSerializer.cs
- SourceItem.cs
- SR.cs
- TemplateFactory.cs
- PerfCounters.cs
- WebDescriptionAttribute.cs
- WinFormsComponentEditor.cs
- WindowsTitleBar.cs
- FileStream.cs
- UserPersonalizationStateInfo.cs
- CodePageEncoding.cs
- InstanceDataCollectionCollection.cs
- PerformanceCountersElement.cs
- StateRuntime.cs
- UriSection.cs
- TdsParserStaticMethods.cs
- DataGridViewCheckBoxColumn.cs
- PersistenceTask.cs
- ProcessModelSection.cs
- ControlValuePropertyAttribute.cs
- RoleGroup.cs
- QueryCursorEventArgs.cs
- ExtensionsSection.cs
- QuaternionRotation3D.cs
- newinstructionaction.cs
- WebPartDescription.cs