ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
CurrentToolItem Property
See Also 
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) 
<BindableAttribute(False)>
<ResDescriptionAttribute("The key associated with a ToolItem added to the Tools Collection")>
<BrowsableAttribute(False)>
<ResCategoryAttribute("Behavior")>
Public Overrides Property CurrentToolItem As PageToolItem
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim value As PageToolItem
 
instance.CurrentToolItem = value
 
value = instance.CurrentToolItem
C# 
[BindableAttribute(false)]
[ResDescriptionAttribute("The key associated with a ToolItem added to the Tools Collection")]
[BrowsableAttribute(false)]
[ResCategoryAttribute("Behavior")]
public override 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.

See Also

© 2010 All Rights Reserved.