DigitalGauge.DigitCount Property

Gets or sets the number of characters displayed by the gauge.

Namespace: DevExpress.XtraGauges.Win.Gauges.Digital

Assembly: DevExpress.XtraGauges.v20.2.Win.dll


public int DigitCount { get; set; }
Public Property DigitCount As Integer

Property Value

Type Default Description


An integer value that specifes the number of characters displayed by the gauge.


The text displayed by the gauge is specified by the DigitalGauge.Text property.

If the DigitalGauge.DigitCount property is set to 0 or a negative value, the gauge displays the entire text. Otherwise, the number of characters is limited by the DigitCount property. If the length of the string specified by the DigitalGauge.Text property is greater than DigitCount, the last characters of the text will be displayed.

See Also