Back to Devexpress

SunburstControl.LabelTextPattern Property

windowsforms-devexpress-dot-xtratreemap-dot-sunburstcontrol-644a823e.md

latest2.2 KB
Original Source

SunburstControl.LabelTextPattern Property

OBSOLETE

This property is obsolete now. Use TextPattern instead.

Gets or sets the pattern that formats the Sunburst’s label text.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.UI.dll

NuGet Package : DevExpress.Win.TreeMap

Declaration

csharp
[Browsable(false)]
[DefaultValue("{L}")]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This property is obsolete now. Use SunburstLabel.TextPattern instead.")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public string LabelTextPattern { get; set; }
vb
<DefaultValue("{L}")>
<Obsolete("This property is obsolete now. Use SunburstLabel.TextPattern instead.")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
Public Property LabelTextPattern As String

Property Value

TypeDefaultDescription
String"{L}"

The format string that configures the Sunburst’s label text.

|

Remarks

The text pattern can contain plain text, special placeholders and format specifiers. For example, you can use the “Value: {V:F2}” format string to show a value with two signs after a comma in the item label.

The following table lists the placeholders you can use in patterns:

PlaceholderDescription
{L}Shows the sunburst item label.
{V}Shows the sunburst item value.

See Also

SunburstControl Class

SunburstControl Members

DevExpress.XtraTreeMap Namespace