Skip to main content
A newer version of this page is available. .

How to: Add a Legend Title to a Legend

To display the legend title, assign a newly created LegendTitle object to the Legend.Title property. Then, specify the title’s TitleBase.Content property.

View Example

<dxc:Legend>
    <dxc:Legend.Title>
        <dxc:LegendTitle Content="Area of Countries"/>
    </dxc:Legend.Title>
</dxc:Legend>