IsExpanded Method (JTree)

Class

JTree.

Action

Returns 'true' if the specified item path is expanded.

Syntax

C#
expanded = tree.IsExpanded(item)
VB
expanded = tree.IsExpanded(item)
Variable Description
expanded True if the specified item path is expanded; otherwise false. Boolean.
item The item path. ItemPath.

Examples

VB

Dim isExpanded As Boolean = tree.IsExpanded("/level_1-1/level_2-1/level_3-4")