![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ShowClearAllButton Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : ShowClearAllButton Property |
Visual Basic (Declaration) | |
---|---|
<NotifyParentPropertyAttribute(True)> <DefaultValueAttribute()> <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(PersistenceMode.Attribute)> <ResCategoryAttribute("TreeViewPlus")> Public Property ShowClearAllButton As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TreeViewPlus Dim value As Boolean instance.ShowClearAllButton = value value = instance.ShowClearAllButton |
C# | |
---|---|
[NotifyParentPropertyAttribute(true)] [DefaultValueAttribute()] [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(PersistenceMode.Attribute)] [ResCategoryAttribute("TreeViewPlus")] public bool ShowClearAllButton {get; set;} |
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.
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