Partager via


SELECTEXPANDS Attribute | SelectExpands Property

Sets or retrieves a value that indicates whether or not a parent node expands or collapses when selected.

Syntax

Visual Basic  Public  Property SelectExpands As bool
C# public  bool SelectExpands { get; set; }
Managed C++ public:  __property bool get_SelectExpands();
public:  __property void set_SelectExpands(bool);
JScript public   function get SelectExpands() : bool;
public   function set SelectExpands(bool);

Possible Values

bSelectExpands bool that specifies or receives whether or not a parent node expands or collapses when selected.
falseDefault. The node does not expand or collapse when its text is selected.
trueThe node expands or collapses when its text is selected.

The property is read/write. The property has a default value of false.

Remarks

When this property is true, the node expands and collapses when selected by either mouse or keyboard.

Property Information

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl