Partager via


EXPANDABLE Attribute | Expandable Property

Sets or retrieves a value that indicates whether a plus-sign image displays on a node.

Syntax

Visual Basic  Public  Property Expandable As ExpandableValue
C# public  ExpandableValue Expandable { get; set; }
Managed C++ public:  __property ExpandableValue get_Expandable();
public:  __property void set_Expandable(ExpandableValue);
JScript public   function get Expandable() : ExpandableValue;
public   function set Expandable(ExpandableValue);

Possible Values

sExpandable ExpandableValue that specifies or receives a value that indicates whether or not a plus-sign image displays on a node.
AlwaysA plus- or minus-sign image displays on a node (whether or not it has children) when the ShowPlus property is true.
AutoDefault. A plus- or minus-sign image displays on a node if it has children and the ShowPlus property is also true.
CheckOnceA plus-sign image displays on a node when ShowPlus is also true. If the node has no children, the plus-sign disappears when the user clicks the node for the first time.

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

Remarks

CheckOnce is the default value when the node has the TreeNodeSrc property set.

Applies To

TREENODE, TREENODETYPE

See Also

Internet Explorer WebControls, About the TreeView WebControl