Back to Devexpress

LegendBase.Title Property

wpf-devexpress-dot-xpf-dot-charts-dot-legendbase-a3881a6d.md

latest1.5 KB
Original Source

LegendBase.Title Property

Gets or sets the legend title settings.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public LegendTitle Title { get; set; }
vb
Public Property Title As LegendTitle

Property Value

TypeDescription
LegendTitle

A LegendTitle object which provides the legend title settings.

|

Example

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

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

See Also

LegendBase Class

LegendBase Members

DevExpress.Xpf.Charts Namespace