IUINode Interface

Definition

Abstract the UI framework object that holds a visual node into the particular container

public interface class IUINode
public interface class IUINode
__interface IUINode
public interface IUINode
type IUINode = interface
Public Interface IUINode

Properties

FontStyle

font style of the text

FontWeight

font weight of the text

IsCut

item is in a "cut" state

IsExpandable

If true, node will have [+] expander shown, and can be expanded and collapsed in view.

RealizedChildren

collection of currently visible children

Text

Node text

ToolTipText

Node ToolTip

WorkspaceVisualNode

the workspace node object

Methods

AddChildrenGroup()

create a new children group A children group can contain any number of children that will always be displayed together. Groups will be ordered by creation sequence.

EmptyAllChildrenGroups()

remove all children

RemoveAllChildrenGroups()

remove all children groups. (used in cases like deleting a node to immediately remove its children from visualization)

SetExpandedIcon(Guid, Int32)

Set icon for the item when it is expanded

SetIcon(Guid, Int32)

Set icon for the item

SetOverlayIcon(Guid, Int32)

Set overlay icon for the item (small icon in the bottom corner)

SetStateIcon(Guid, Int32)

Set icon for the item state (small icon on the left)

UpdateChildrenGroupAsync(Int32, IReadOnlyCollection<WorkspaceVisualNodeBase>)

Update the children in a children group. The UI node will attempt to make a minimal changes

Applies to