ESRI.ArcGIS.ADF.ArcGISServer.Editor
CurrentTool Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor.Tools Namespace > EditorToolbar Class : CurrentTool Property




Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Data")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.CurrentToolEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<DefaultValueAttribute()>
<ResDescriptionAttribute("The selected Tool on this Toolbar.  Among Toolbar controls with the same Group property, only one can have a CurrentTool.")>
<NotifyParentPropertyAttribute(True)>
Public Property CurrentTool As String
Visual Basic (Usage)Copy Code
Dim instance As EditorToolbar
Dim value As String
 
instance.CurrentTool = value
 
value = instance.CurrentTool
C# 
[ResCategoryAttribute("Data")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.CurrentToolEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[DefaultValueAttribute()]
[ResDescriptionAttribute("The selected Tool on this Toolbar.  Among Toolbar controls with the same Group property, only one can have a CurrentTool.")]
[NotifyParentPropertyAttribute(true)]
public string CurrentTool {get; set;}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.