Flexible TreeView 5.1.9 Help
AllowEmptySelection Property



Gets or sets a value indicating whether to allow to deselect the last selected node by mouse click while holding the Control key.
Syntax
'Declaration
 
<DescriptionAttribute("Gets or sets a value indicating whether to allow to deselect the last selected node by mouse click while holding the Control key.")>
<DefaultValueAttribute()>
Public Property AllowEmptySelection As Boolean
'Usage
 
Dim instance As TreeOptions.SelectionOptions
Dim value As Boolean
 
instance.AllowEmptySelection = value
 
value = instance.AllowEmptySelection
[Description("Gets or sets a value indicating whether to allow to deselect the last selected node by mouse click while holding the Control key.")]
[DefaultValue()]
public bool AllowEmptySelection {get; set;}
[Description("Gets or sets a value indicating whether to allow to deselect the last selected node by mouse click while holding the Control key.")]
[DefaultValue()]
public:
property bool AllowEmptySelection {
   bool get();
   void set (    bool value);
}

Property Value

true if the last selected node can be deselected by holding the Control key and clicking mouse on it; otherwise, false. The default value is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TreeOptions.SelectionOptions Class
TreeOptions.SelectionOptions Members

Send Feedback