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
itemThe DiagramItem associated with this expander.
treeItemThe 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.
TreeItemExpander Class Reference