Back to Devexpress

LinearScale.Percent Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscale-6c4288ff.md

latest2.1 KB
Original Source

LinearScale.Percent Property

Gets the percent of the current value, in relation to the scale’s minimum and maximum values.

Namespace : DevExpress.XtraGauges.Core.Model

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

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
[Browsable(false)]
[DefaultValue(0F)]
public float Percent { get; }
vb
<DefaultValue(0F)>
<Browsable(False)>
Public ReadOnly Property Percent As Single

Property Value

TypeDefaultDescription
Single0

The percent of the current value in relation to the scale’s minimum and maximum values.

|

Remarks

This property returns the percent of the current LinearScale.Value in relation to the scale’s minimum (LinearScale.MinValue) and maximum (LinearScale.MaxValue) values.

See Also

Value

PercentToPoint(Single)

PercentToValue(Single)

ValueToPercent(Single)

LinearScale Class

LinearScale Members

DevExpress.XtraGauges.Core.Model Namespace