Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- HttpApplicationFactory.cs
- DelegateBodyWriter.cs
- SiteMapNode.cs
- StyleXamlTreeBuilder.cs
- PersonalizationState.cs
- DesignerSerializationOptionsAttribute.cs
- Scene3D.cs
- Model3DGroup.cs
- TypeBuilderInstantiation.cs
- IdentityHolder.cs
- MatrixAnimationUsingPath.cs
- HttpsChannelFactory.cs
- StringUtil.cs
- PixelShader.cs
- StringAnimationBase.cs
- IntranetCredentialPolicy.cs
- SystemIPv4InterfaceProperties.cs
- CodeTypeDeclarationCollection.cs
- SystemSounds.cs
- BuildProvider.cs
- DataGridSortCommandEventArgs.cs
- ConstantProjectedSlot.cs
- safemediahandle.cs
- SystemIPInterfaceProperties.cs
- ExpressionWriter.cs
- ConditionChanges.cs
- SafeEventHandle.cs
- HtmlSelect.cs
- InfiniteTimeSpanConverter.cs
- BoolExpression.cs
- WebPartsPersonalizationAuthorization.cs
- KeyValueConfigurationCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- RTLAwareMessageBox.cs
- IdleTimeoutMonitor.cs
- input.cs
- WebBrowserHelper.cs
- ChannelServices.cs
- LicFileLicenseProvider.cs
- GPRECT.cs
- SerializationSectionGroup.cs
- CodeEntryPointMethod.cs
- ApplicationServicesHostFactory.cs
- ClientScriptItemCollection.cs
- CalendarAutoFormatDialog.cs
- CharConverter.cs
- SimpleModelProvider.cs
- storagemappingitemcollection.viewdictionary.cs
- SafeMILHandle.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- PermissionAttributes.cs
- Serialization.cs
- DataBoundControlHelper.cs
- UInt16.cs
- Pair.cs
- WebRequestModuleElementCollection.cs
- DataGridCommandEventArgs.cs
- ScriptServiceAttribute.cs
- NativeMethods.cs
- CollectionChangedEventManager.cs
- XmlCompatibilityReader.cs
- OleTxTransactionInfo.cs
- InfoCardArgumentException.cs
- DataGridViewCellParsingEventArgs.cs
- WebPartZoneBaseDesigner.cs
- CompilerParameters.cs
- ForEachAction.cs
- ExpanderAutomationPeer.cs
- HostingPreferredMapPath.cs
- assertwrapper.cs
- PageParser.cs
- BitmapEffectState.cs
- FixedPosition.cs
- SystemException.cs
- SplitContainer.cs
- DataObjectEventArgs.cs
- XmlNullResolver.cs
- FontConverter.cs
- CellConstant.cs
- HotCommands.cs
- ExpressionDumper.cs
- SoapSchemaExporter.cs
- ToolboxSnapDragDropEventArgs.cs
- CodeSnippetCompileUnit.cs
- Animatable.cs
- CompiledRegexRunner.cs
- HtmlTable.cs
- RegexStringValidatorAttribute.cs
- OperationAbortedException.cs
- ACE.cs
- NativeMethods.cs
- _SSPIWrapper.cs
- SchemaElementLookUpTable.cs
- AnnotationHighlightLayer.cs
- TextDecorations.cs
- DateTimeSerializationSection.cs
- ScaleTransform.cs
- OdbcFactory.cs
- Parameter.cs
- OneWayChannelListener.cs