Skip to main content

LegendTitle Class

An individual legend title.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class LegendTitle :
    TitleBase

The following members return LegendTitle objects:

Remarks

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:

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.

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