Skip to main content

Label.FormatString Property

Gets or sets the format string for the display text.

Namespace: DevExpress.XtraGauges.Core.Model

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

NuGet Package: DevExpress.Gauges.Core

Declaration

[DefaultValue("{0}")]
public string FormatString { get; set; }

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.

See Also