SunburstCenterLabel.TextFont Property

Gets or sets the center label text's font.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v20.1.dll

Declaration

public Font TextFont { get; set; }
Public Property TextFont As Font

Property Value

Type Description
Font

A Font object.

Examples

This example shows how to specify a sunburst's center label text and appearance.

Use the SunburstControl.CenterLabel property to access to a sunburst's center label settings.

sunburstControl.CenterLabel.TextPattern = "Total: ${TV : F2}";
sunburstControl.CenterLabel.TextFont = new Font("Tahoma",10);
sunburstControl.CenterLabel.ForegroundColor = Color.Black;
sunburstControl.CenterLabel.BackgroundColor = Color.White;

Implements

DevExpress.XtraTreeMap.Native.ICenterLabelAppearanceProvider.TextFont
See Also