Skip to main content
All docs
V24.2

LegendBase Properties

The base class for treemap and sunburst legends.
Name Description
BackColor Gets or sets the legend background color.
BorderColor Gets or sets the legend border color.
BorderWidth Gets or sets the legend border width in pixels.
Direction Gets or sets the direction in which items are positioned in the legend.
DXFont
EquallySpacedItems Gets or sets whether to arrange legend items in left-aligned columns.
Font Gets or sets the legend text font.
HorizontalAlignment Gets or sets the legend’s horizontal alignment in the control.
HorizontalIndent Gets or sets the horizontal indent between legend items in pixels.
Margins Gets or sets the indents between the legend edges and other chart elements in pixels.
Padding Gets or sets the indents between the legend’s edges and its content.
TextColor Gets or sets the color for legend item text.
TextOffset Gets or sets the distance between a legend item’s marker and description in pixels.
Title Returns the legend’s title options.
VerticalAlignment Gets or sets the legend’s vertical alignment in the control.
VerticalIndent Gets or sets the vertical indent between legend items in pixels.
Visible Specifies whether the legend is visible.
See Also