menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeMapLevelBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeMapLevelBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TreeMapLevelBuilder
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapLevelBuilder : ControlBuilder

    Constructors

    TreeMapLevelBuilder()

    Declaration
    public TreeMapLevelBuilder()

    TreeMapLevelBuilder(List<TreeMapLevel>)

    Declaration
    public TreeMapLevelBuilder(List<TreeMapLevel> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<TreeMapLevel> collection

    Methods

    Add()

    Declaration
    public void Add()

    AutoFill(Boolean)

    Enables or disables the automatic filling of the colors from the palette in the items of the treemap.

    Declaration
    public TreeMapLevelBuilder AutoFill(bool autoFill)
    Parameters
    Type Name Description
    System.Boolean autoFill
    Returns
    Type
    TreeMapLevelBuilder

    Border(TreeMapBorder)

    Sets and gets the options for customizing the color and width of the border of the level leaf items of the treemap.

    Declaration
    public TreeMapLevelBuilder Border(TreeMapBorder border)
    Parameters
    Type Name Description
    TreeMapBorder border
    Returns
    Type
    TreeMapLevelBuilder

    Border(Action<TreeMapBorderBuilder>)

    Declaration
    public TreeMapLevelBuilder Border(Action<TreeMapBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<TreeMapBorderBuilder> border
    Returns
    Type
    TreeMapLevelBuilder

    ColorMapping(Action<TreeMapColorMappingBuilder>)

    Declaration
    public TreeMapLevelBuilder ColorMapping(Action<TreeMapColorMappingBuilder> colorMapping)
    Parameters
    Type Name Description
    System.Action<TreeMapColorMappingBuilder> colorMapping
    Returns
    Type
    TreeMapLevelBuilder

    ColorMapping(List<TreeMapColorMapping>)

    Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.

    Declaration
    public TreeMapLevelBuilder ColorMapping(List<TreeMapColorMapping> colorMapping)
    Parameters
    Type Name Description
    System.Collections.Generic.List<TreeMapColorMapping> colorMapping
    Returns
    Type
    TreeMapLevelBuilder

    Fill(String)

    Sets and gets the fill color of the level leaf item in the treemap.

    Declaration
    public TreeMapLevelBuilder Fill(string fill)
    Parameters
    Type Name Description
    System.String fill
    Returns
    Type
    TreeMapLevelBuilder

    GroupGap(Double)

    Sets and gets the gap between the level leaf items in the treemap.

    Declaration
    public TreeMapLevelBuilder GroupGap(double groupGap)
    Parameters
    Type Name Description
    System.Double groupGap
    Returns
    Type
    TreeMapLevelBuilder

    GroupPadding(Double)

    Sets and gets the padding of level leaf items in the treemap.

    Declaration
    public TreeMapLevelBuilder GroupPadding(double groupPadding)
    Parameters
    Type Name Description
    System.Double groupPadding
    Returns
    Type
    TreeMapLevelBuilder

    GroupPath(String)

    Sets and gets the value path from the data source in the treemap to render the item.

    Declaration
    public TreeMapLevelBuilder GroupPath(string groupPath)
    Parameters
    Type Name Description
    System.String groupPath
    Returns
    Type
    TreeMapLevelBuilder

    HeaderAlignment(Alignment)

    Sets and gets the alignment of the header of the treemap.

    Declaration
    public TreeMapLevelBuilder HeaderAlignment(Alignment headerAlignment)
    Parameters
    Type Name Description
    Alignment headerAlignment
    Returns
    Type
    TreeMapLevelBuilder

    HeaderFormat(String)

    Sets and gets the string to format the header label of the level leaf items in the treemap.

    Declaration
    public TreeMapLevelBuilder HeaderFormat(string headerFormat)
    Parameters
    Type Name Description
    System.String headerFormat
    Returns
    Type
    TreeMapLevelBuilder

    HeaderHeight(Double)

    Sets and gets the height of header in the treemap.

    Declaration
    public TreeMapLevelBuilder HeaderHeight(double headerHeight)
    Parameters
    Type Name Description
    System.Double headerHeight
    Returns
    Type
    TreeMapLevelBuilder

    HeaderStyle(TreeMapFont)

    Sets and gets the options for customizing the text style of header label of the level leaf item.

    Declaration
    public TreeMapLevelBuilder HeaderStyle(TreeMapFont headerStyle)
    Parameters
    Type Name Description
    TreeMapFont headerStyle
    Returns
    Type
    TreeMapLevelBuilder

    HeaderStyle(Action<TreeMapFontBuilder>)

    Declaration
    public TreeMapLevelBuilder HeaderStyle(Action<TreeMapFontBuilder> headerStyle)
    Parameters
    Type Name Description
    System.Action<TreeMapFontBuilder> headerStyle
    Returns
    Type
    TreeMapLevelBuilder

    HeaderTemplate(String)

    Sets and gets the template for header in the treemap.

    Declaration
    public TreeMapLevelBuilder HeaderTemplate(string headerTemplate)
    Parameters
    Type Name Description
    System.String headerTemplate
    Returns
    Type
    TreeMapLevelBuilder

    Opacity(Double)

    Sets and gets the opacity in the level leaf item of the treemap.

    Declaration
    public TreeMapLevelBuilder Opacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity
    Returns
    Type
    TreeMapLevelBuilder

    ShowHeader(Boolean)

    Shows or hides the header in level leaf item of the treemap.

    Declaration
    public TreeMapLevelBuilder ShowHeader(bool showHeader)
    Parameters
    Type Name Description
    System.Boolean showHeader
    Returns
    Type
    TreeMapLevelBuilder

    TemplatePosition(LabelPosition)

    Sets and gets the options for customizing the template position of the treemap.

    Declaration
    public TreeMapLevelBuilder TemplatePosition(LabelPosition templatePosition)
    Parameters
    Type Name Description
    LabelPosition templatePosition
    Returns
    Type
    TreeMapLevelBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved