Class TreeMapLevelBuilder
Inheritance
System.Object
TreeMapLevelBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
AutoFill(Boolean)
Enables or disables the automatic filling of the colors in the items in the treemap component.
Declaration
public TreeMapLevelBuilder AutoFill(bool autoFill)
Parameters
Type |
Name |
Description |
System.Boolean |
autoFill |
|
Returns
Border(TreeMapBorder)
Sets and gets the options for customizing the color and width of the border of
the levels of the treemap component.
Declaration
public TreeMapLevelBuilder Border(TreeMapBorder border)
Parameters
Returns
Border(Action<TreeMapBorderBuilder>)
Declaration
public TreeMapLevelBuilder Border(Action<TreeMapBorderBuilder> border)
Parameters
Returns
ColorMapping(Action<TreeMapColorMappingBuilder>)
Declaration
public TreeMapLevelBuilder ColorMapping(Action<TreeMapColorMappingBuilder> colorMapping)
Parameters
Returns
ColorMapping(List<TreeMapColorMapping>)
Sets and gets the options for customizing the color-mapping in the treemap component.
Declaration
public TreeMapLevelBuilder ColorMapping(List<TreeMapColorMapping> colorMapping)
Parameters
Returns
Fill(String)
Sets and gets the fill color of the level in the treemap component.
Declaration
public TreeMapLevelBuilder Fill(string fill)
Parameters
Type |
Name |
Description |
System.String |
fill |
|
Returns
GroupGap(Double)
Sets and gets the gap between the levels in the treemap component.
Declaration
public TreeMapLevelBuilder GroupGap(double groupGap)
Parameters
Type |
Name |
Description |
System.Double |
groupGap |
|
Returns
GroupPadding(Double)
Sets and gets the padding of levels in the treemap component.
Declaration
public TreeMapLevelBuilder GroupPadding(double groupPadding)
Parameters
Type |
Name |
Description |
System.Double |
groupPadding |
|
Returns
GroupPath(String)
Sets and gets the value path from the data source in the treemap component to render the item.
Declaration
public TreeMapLevelBuilder GroupPath(string groupPath)
Parameters
Type |
Name |
Description |
System.String |
groupPath |
|
Returns
Sets and gets the alignment of the header of the treemap component.
Declaration
public TreeMapLevelBuilder HeaderAlignment(Alignment headerAlignment)
Parameters
Type |
Name |
Description |
Alignment |
headerAlignment |
|
Returns
Sets and gets the format of header of the levels in the treemap component.
Declaration
public TreeMapLevelBuilder HeaderFormat(string headerFormat)
Parameters
Type |
Name |
Description |
System.String |
headerFormat |
|
Returns
Sets and gets the height of header in the treemap component.
Declaration
public TreeMapLevelBuilder HeaderHeight(double headerHeight)
Parameters
Type |
Name |
Description |
System.Double |
headerHeight |
|
Returns
Sets and gets the options for customizing the style of header of the treemap component.
Declaration
public TreeMapLevelBuilder HeaderStyle(TreeMapFont headerStyle)
Parameters
Returns
Declaration
public TreeMapLevelBuilder HeaderStyle(Action<TreeMapFontBuilder> headerStyle)
Parameters
Returns
Sets and gets the template for header in the treemap component.
Declaration
public TreeMapLevelBuilder HeaderTemplate(string headerTemplate)
Parameters
Type |
Name |
Description |
System.String |
headerTemplate |
|
Returns
Opacity(Double)
Sets and gets the opacity in the treemap component.
Declaration
public TreeMapLevelBuilder Opacity(double opacity)
Parameters
Type |
Name |
Description |
System.Double |
opacity |
|
Returns
Shows or hides the header in level of the treemap component.
Declaration
public TreeMapLevelBuilder ShowHeader(bool showHeader)
Parameters
Type |
Name |
Description |
System.Boolean |
showHeader |
|
Returns
TemplatePosition(LabelPosition)
Sets and gets the options for customizing the template position of the treemap component.
Declaration
public TreeMapLevelBuilder TemplatePosition(LabelPosition templatePosition)
Parameters
Returns