TreeItemExpander
open class TreeItemExpander : Expander
Expands TreeViewItem-s. This class overrides Expander.
-
Initializes a new instance of the TreeItemExpander class.
Declaration
Swift
public init(item: DiagramItem, treeItem: TreeViewItem)
Parameters
item
The DiagramItem associated with this expander.
treeItem
The TreeViewItem to expand.
Return Value
The newly created TreeItemExpander object.
-
Specifies if the tree is expanded.
Declaration
Swift
open override var expanded: Bool { get }
Return Value
true if the TreeViewItem is expanded; otherwise false.