An individual legend title.
Related API Members
The following members accept/return LegendTitle objects:
The LegendTitle class declares properties that define the common appearance settings of a title which is displayed by a particular legend.
Properties exposed by the LegendTitle class allow you to customize common title attributes, such as:
- the legend title content (TitleBase.Content),
- the alignment of the axis title (TitleBase.HorizontalAlignment),
- the visibility of the axis title (TitleBase.Visible).
- the color and font settings of the title's text.
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-add-a-legend-title-to-a-legend-t377595.
<dxc:Legend> <dxc:Legend.Title> <dxc:LegendTitle Content="Area of Countries"/> </dxc:Legend.Title> </dxc:Legend>