Share via


HierarchyInfo.Expand Method

Definition

Expands the node and displays the child nodes.

public:
 void Expand();
public void Expand ();
member this.Expand : unit -> unit
Public Sub Expand ()

Examples

The following example calls the Expand method.

public void MyExpand()
{
    Expand();
    tTasksAll();
}

Remarks

An error will not occur if the Expand method is called when the node has no children or is already in the expanded state.

Applies to