Back to Devexpress

Label.FormatString Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-label-306fa375.md

latest1.5 KB
Original Source

Label.FormatString Property

Gets or sets the format string for the display text.

Namespace : DevExpress.XtraGauges.Core.Model

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
[DefaultValue("{0}")]
public string FormatString { get; set; }
vb
<DefaultValue("{0}")>
Public Property FormatString As String

Property Value

TypeDefaultDescription
String"{0}"

A format string.

|

Remarks

You can use the FormatString property to format the value of the Label.Text property in a specific manner. The {0} placeholder represents the value of the Label.Text property.

See Also

Text

Label Class

Label Members

DevExpress.XtraGauges.Core.Model Namespace