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

SunburstControl.CenterLabel Property

Returns the center label to modify its settings.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v22.1.UI.dll

NuGet Package: DevExpress.Win.TreeMap

Declaration

public SunburstCenterLabel CenterLabel { get; }

Property Value

Type Description
SunburstCenterLabel

The center label options’ storage.

Example

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;
See Also