Skip to main content

SunburstCenterLabel Class

The Sunburst‘s center label.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v23.2.dll

NuGet Package: DevExpress.TreeMap

Declaration

public class SunburstCenterLabel :
    SunburstElement,
    ICenterLabelAppearanceProvider

The following members return SunburstCenterLabel objects:

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;

Inheritance

See Also