Label.FormatString Property

Gets or sets the format string for the display text.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v20.1.Core.dll

Declaration

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

Property Value

Type Default Description
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.

Implements

DevExpress.XtraGauges.Core.Model.ILabel.FormatString
See Also