menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeMapLeafItemSettingsBuilder

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

    Constructors

    TreeMapLeafItemSettingsBuilder()

    Declaration
    public TreeMapLeafItemSettingsBuilder()

    TreeMapLeafItemSettingsBuilder(TreeMapLeafItemSettings)

    Declaration
    public TreeMapLeafItemSettingsBuilder(TreeMapLeafItemSettings model)
    Parameters
    Type Name Description
    TreeMapLeafItemSettings model

    Methods

    AutoFill(Boolean)

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

    Declaration
    public TreeMapLeafItemSettingsBuilder AutoFill(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    Border(TreeMapBorder)

    Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder Border(TreeMapBorder value)
    Parameters
    Type Name Description
    TreeMapBorder value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    Border(Action<TreeMapBorderBuilder>)

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

    ColorMapping(Action<TreeMapColorMappingBuilder>)

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

    ColorMapping(List<TreeMapColorMapping>)

    Sets and gets the options to customize color-mapping of the treemap leaf items.

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

    Fill(String)

    Sets and gets the fill color of leaf items in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    Gap(Double)

    Sets and gets the gap between the leaf item in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder Gap(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    InterSectAction(LabelAlignment)

    Sets and gets the actions to perform when labels intersects with other labels in a treemap leaf item.

    Declaration
    public TreeMapLeafItemSettingsBuilder InterSectAction(LabelAlignment value)
    Parameters
    Type Name Description
    LabelAlignment value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelFormat(String)

    Sets and gets the string to format the label text of leaf item in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelFormat(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelPath(String)

    Sets and gets the value path from the data source for label of leaf item in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelPath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelPosition(LabelPosition)

    Sets and gets the position of the labels in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelPosition(LabelPosition value)
    Parameters
    Type Name Description
    LabelPosition value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelStyle(TreeMapFont)

    Sets and gets the options to customize the style of the labels of treemap leaf item.

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelStyle(TreeMapFont value)
    Parameters
    Type Name Description
    TreeMapFont value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelStyle(Action<TreeMapFontBuilder>)

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelStyle(Action<TreeMapFontBuilder> labelStyle)
    Parameters
    Type Name Description
    System.Action<TreeMapFontBuilder> labelStyle
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    LabelTemplate(String)

    Sets and gets the label template of leaf item in the treemap to render custom elements in the labels.

    Declaration
    public TreeMapLeafItemSettingsBuilder LabelTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    Opacity(Double)

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

    Declaration
    public TreeMapLeafItemSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    Padding(Double)

    Sets and gets the padding of leaf item in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder Padding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    ShowLabels(Boolean)

    Shows or hides the labels in the treemap.

    Declaration
    public TreeMapLeafItemSettingsBuilder ShowLabels(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    TreeMapLeafItemSettingsBuilder

    TemplatePosition(LabelPosition)

    Sets and gets the position of the label template of treemap leaf item.

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