Class TreeMapLeafItemSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeMapLeafItemSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeMapLeafItemSettingsBuilder : ControlBuilder
Constructors
TreeMapLeafItemSettingsBuilder()
Declaration
public TreeMapLeafItemSettingsBuilder()
TreeMapLeafItemSettingsBuilder(TreeMapLeafItemSettings)
Declaration
public TreeMapLeafItemSettingsBuilder(TreeMapLeafItemSettings model)
Parameters
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
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
Returns
Border(Action<TreeMapBorderBuilder>)
Declaration
public TreeMapLeafItemSettingsBuilder Border(Action<TreeMapBorderBuilder> border)
Parameters
Returns
ColorMapping(Action<TreeMapColorMappingBuilder>)
Declaration
public TreeMapLeafItemSettingsBuilder ColorMapping(Action<TreeMapColorMappingBuilder> colorMapping)
Parameters
Returns
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
Returns
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
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
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
Returns
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
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
LabelPosition(LabelPosition)
Sets and gets the position of the labels in the treemap.
Declaration
public TreeMapLeafItemSettingsBuilder LabelPosition(LabelPosition value)
Parameters
Returns
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
Returns
LabelStyle(Action<TreeMapFontBuilder>)
Declaration
public TreeMapLeafItemSettingsBuilder LabelStyle(Action<TreeMapFontBuilder> labelStyle)
Parameters
Returns
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
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
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
ShowLabels(Boolean)
Shows or hides the labels in the treemap.
Declaration
public TreeMapLeafItemSettingsBuilder ShowLabels(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
TemplatePosition(LabelPosition)
Sets and gets the position of the label template of treemap leaf item.
Declaration
public TreeMapLeafItemSettingsBuilder TemplatePosition(LabelPosition value)
Parameters
Returns