Show / Hide Table of Contents

    Interface ITreeNodeViewProvider

    The tree node view provider is responsible for displaying a node in a ITreeViewComponent control.

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface ITreeNodeViewProvider

    Methods

    | Improve this Doc View Source

    BeforeDisplayingNode(ITreeStringNode, ITreeNodeView, Boolean, Boolean, Boolean)

    Called before displaying the node view, and allows for changing the display based on the current state of the node.

    Declaration
    void BeforeDisplayingNode(ITreeStringNode item, ITreeNodeView nodeView, bool isCollapsed, bool isHovered, bool isSelected)
    Parameters
    Type Name Description
    ITreeStringNode item

    Item.

    ITreeNodeView nodeView

    Node view.

    System.Boolean isCollapsed

    If set to true is collapsed.

    System.Boolean isHovered

    If set to true is hovered.

    System.Boolean isSelected

    If set to true is selected.

    | Improve this Doc View Source

    CreateNode(ITreeStringNode, IRenderLayer, IObject)

    Creates a UI view for the text node.

    Declaration
    ITreeNodeView CreateNode(ITreeStringNode node, IRenderLayer layer, IObject parent)
    Parameters
    Type Name Description
    ITreeStringNode node

    The text node.

    IRenderLayer layer

    The rendering layer which all of the tree UI controls should use.

    IObject parent

    The parent for the node.

    Returns
    Type Description
    ITreeNodeView

    The node view.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX