ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
CurrentToolItem Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout Namespace > PageLayout Class : CurrentToolItem Property




The current toolitem that can be used on the control.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Behavior")>
<BrowsableAttribute(False)>
<BindableAttribute(Bindable=False, Direction=BindingDirection.OneWay)>
<ResDescriptionAttribute("The key associated with a ToolItem added to the Tools Collection")>
Public Overrides Property CurrentToolItem As ESRI.ArcGIS.ADF.Web.UI.WebControls.PageToolItem
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim value As ESRI.ArcGIS.ADF.Web.UI.WebControls.PageToolItem
 
instance.CurrentToolItem = value
 
value = instance.CurrentToolItem
C# 
[ResCategoryAttribute("Behavior")]
[BrowsableAttribute(false)]
[BindableAttribute(Bindable=false, Direction=BindingDirection.OneWay)]
[ResDescriptionAttribute("The key associated with a ToolItem added to the Tools Collection")]
public override ESRI.ArcGIS.ADF.Web.UI.WebControls.PageToolItem CurrentToolItem {get; set;}

Remarks

This toolitem's ClientToolAction javascript is called when the control renders, setting it up as the default tool for the control.

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.