ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowClearAllButton Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : ShowClearAllButton Property




Whether to include a button on the control to clear all nodes in the tree.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<ResCategoryAttribute("TreeViewPlus")>
<ResDescriptionAttribute("Whether to include a button on the control to clear all nodes in the tree. If set to true, a hyperlink with the text "Clear All" will appear .")>
<PersistenceModeAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property ShowClearAllButton As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim value As Boolean
 
instance.ShowClearAllButton = value
 
value = instance.ShowClearAllButton
C# 
[DefaultValueAttribute()]
[ResCategoryAttribute("TreeViewPlus")]
[ResDescriptionAttribute("Whether to include a button on the control to clear all nodes in the tree. If set to true, a hyperlink with the text "Clear All" will appear .")]
[PersistenceModeAttribute()]
[NotifyParentPropertyAttribute(true)]
public bool ShowClearAllButton {get; set;}

Remarks

If set to true, a hyperlink with the text "Clear All" will appear at the top of the control at run time. If the user clicks on this link, all nodes in the tree will be removed. Note this permanently removes the nodes from the tree. They are no longer available at the Nodes property of the tree.

The Clear All button will only display when more than one node is present in the tree.

Currently only the "Clear All" is displayed for the clear-all button. The ClearImage is not used.

See Also

© 2010 All Rights Reserved.