AutoCollapse Property (TreeView)
In This Topic
Gets or sets a value that determines if sibling nodes should be collapsed when a node is expanded.
Syntax
'Declaration
<System.ComponentModel.DefaultValueAttribute(True)>
Public Property AutoCollapse As System.Boolean
'Usage
Dim instance As TreeView
Dim value As System.Boolean
instance.AutoCollapse = value
value = instance.AutoCollapse
[System.ComponentModel.DefaultValue(true)]
public System.bool AutoCollapse {get; set;}
public read-write property AutoCollapse: System.Boolean;
System.ComponentModel.DefaultValueAttribute()
public function get,set AutoCollapse : System.boolean
[System.ComponentModel.DefaultValue(true)]
public: __property System.bool get_AutoCollapse();
public: __property void set_AutoCollapse(
System.bool value
);
[System.ComponentModel.DefaultValue(true)]
public:
property System.bool AutoCollapse {
System.bool get();
void set ( System.bool value);
}
See Also