SunburstLabel.AutoLayout Property
In This Article
Indicates whether the adaptive layout is enabled for sunburst item labels.
Namespace: DevExpress.XtraTreeMap
Assembly: DevExpress.XtraTreeMap.v24.2.dll
NuGet Package: DevExpress.TreeMap
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true, if the adaptive layout is enabled, otherwise false. |
#Remarks
Note that the Sunburst Control takes into account the DisplayMode property value when AutoLayout is enabled:
Display |
Example |
---|---|
Display |
![]() |
Display |
![]() |
Display |
![]() |
#Example
This example demonstrates how to format content and fine-tune the appearance of sunburst item labels.
Use the following API members to customize label text format, appearance and arrangement.
sunburstControl.Label.TextPattern = "{L}: ${V:F2}M";
sunburstControl.Label.DisplayMode = SunburstLabelDisplayMode.Horizontal;
sunburstControl.Label.AutoLayout = true;
sunburstControl.Label.Visible = true;
sunburstControl.ItemStyle.TextColor = Color.DarkSlateBlue;
sunburstControl.ItemStyle.TextGlowColor = Color.White;
The example above uses the following API members:
Member | Description |
---|---|
Sunburst |
Gets or sets the pattern that formats the Sunburst’s label text. |
Sunburst |
Specifies how to align a label within a sunburst item. |
Sunburst |
Indicates whether the adaptive layout is enabled for sunburst item labels. |
Sunburst |
Specifies the visibility of sunburst item labels. |
Sunburst |
Returns the sunburst item appearance settings. |
Hierarchical |
Gets or sets a treemap / sunburst item text color. |
Sunburst |
Gets or sets the glow color of the sunburst item’s text. |
See Also