Search Results for

    Show / Hide Table of Contents

    Class SunburstNode

    Node (primitive element) of the Sunburst control

    Inheritance
    System.Object
    NodeBase
    HierarchicalNode
    SunburstNode
    Implements
    IHierarchicalNode
    INode
    IRecordOwner
    IStyleOwner
    Inherited Members
    HierarchicalNode.parent
    HierarchicalNode.children
    HierarchicalNode.visible
    HierarchicalNode.GetDepth()
    HierarchicalNode.Visible
    HierarchicalNode.FindByRecord(HierarchicalRecord)
    HierarchicalNode.ForChildrenBranch(Action<HierarchicalNode>)
    HierarchicalNode.Record
    HierarchicalNode.IHierarchicalNode.Parent
    HierarchicalNode.IHierarchicalNode.Children
    NodeBase.record
    NodeBase.style
    NodeBase.selected
    NodeBase.hover
    NodeBase.Style
    NodeBase.Hover
    NodeBase.Selected
    NodeBase.IRecordOwner.Record
    Namespace: FastReport.BG.Sunburst
    Assembly: FastReport.BG.dll
    Syntax
    public class SunburstNode : HierarchicalNode, IHierarchicalNode, INode, IRecordOwner, IStyleOwner

    Constructors

    SunburstNode(SunburstNode, HierarchicalRecord, Sunburst)

    Construct a new SunburstNode instance

    Declaration
    public SunburstNode(SunburstNode parent, HierarchicalRecord record, Sunburst sunburst)
    Parameters
    Type Name Description
    SunburstNode parent

    Parent node reference

    HierarchicalRecord record

    Record which node represents

    Sunburst sunburst

    Reference to owner Sunburst control

    Fields

    sunburst

    Reference to the Sunburst control which own this node

    Declaration
    protected Sunburst sunburst
    Field Value
    Type Description
    Sunburst

    Properties

    Bounds

    Bounding rectangle

    Declaration
    public override Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle
    Overrides
    NodeBase.Bounds

    Children

    Collection of children nodes

    Declaration
    public SunburstNodes Children { get; }
    Property Value
    Type Description
    SunburstNodes

    DrawStyle

    Style which is used to Draw the node

    Declaration
    protected virtual Style DrawStyle { get; }
    Property Value
    Type Description
    Style

    Geometry

    Geometry which was used to layout this node

    Declaration
    public SunburstGeometry Geometry { get; }
    Property Value
    Type Description
    SunburstGeometry

    Parent

    Reference to parent node

    Declaration
    public SunburstNode Parent { get; }
    Property Value
    Type Description
    SunburstNode

    Path

    GraphicsPath of the node figure

    Declaration
    public GraphicsPath Path { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    Methods

    Build(SunburstGeometry)

    Build the node and children layout

    Declaration
    public virtual void Build(SunburstGeometry geometry)
    Parameters
    Type Name Description
    SunburstGeometry geometry

    Geometry for the doughnut sector of the node

    Draw(Graphics)

    Draws node on the graphic context

    Declaration
    public override void Draw(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    Graphic context

    Overrides
    NodeBase.Draw(Graphics)

    GetNodeAt(Point)

    Get node at the given location

    Declaration
    public override HierarchicalNode GetNodeAt(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt

    Location to search for a node

    Returns
    Type Description
    HierarchicalNode

    found node or null

    Overrides
    HierarchicalNode.GetNodeAt(Point)

    GetPaletteColor(Int32)

    Get color from the color palette for the child at index

    Declaration
    public virtual Color GetPaletteColor(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of child

    Returns
    Type Description
    System.Drawing.Color

    Color for the node

    UpdateStyle()

    Updates Style.

    Declaration
    protected virtual void UpdateStyle()

    Implements

    IHierarchicalNode
    INode
    IRecordOwner
    IStyleOwner
    Back to top © 2021-2022 Copyright Fast Reports Inc.