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

PieSeriesView.TitleContentTemplate Property

Specifies a template that defines the appearance of title content.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "InvalidateLayout")]
public DataTemplate TitleContentTemplate { get; set; }

Property Value

Type Description
DataTemplate

A template that defines title content appearance.

Remarks

Use the PieSeriesView.Title property to define the title content.

The following markup shows how to specify a pie series’ title and customize title appearance:

<Charts:PieSeries.View>
    <Charts:PieSeriesView Title="Sales Volume by Products">
        <Charts:PieSeriesView.TitleContentTemplate>
            <DataTemplate>
                <TextBlock Text="{Binding}" FontSize="24" Margin="20"/>
            </DataTemplate>
        </Charts:PieSeriesView.TitleContentTemplate>
    </Charts:PieSeriesView>
</Charts:PieSeries.View>
See Also