ComponentOne Gauge for UWP
Using C1Linear Gauge / C1LinearGauge Values
In This Topic
    C1LinearGauge Values
    In This Topic

    You can use the C1LinearGauge control's C1Gauge.MinimumC1Gauge.Maximum, and C1Gauge.Value properties to specify the available range and the selected value in that range:

    The C1Gauge.Minimum and C1Gauge.Maximum properties specify the range of values the gauge is designed to show. For example, a thermometer may have a scale ranging from -40 to 100 degrees, and a speedometer may have range of 0 to 140 miles per hour. The range is specified through the C1Gauge.Minimum and C1Gauge.Maximum properties (of type double). The default range for a C1LinearGauge control is from 0 to 100.

    The C1Gauge.Value property indicates the current value of the gauge. In the C1LinearGauge control, this is indicated visually by the value the C1GaugePointer element is pointing to. The default C1Gauge.Value for a C1LinearGauge control is 0; in the above image, the C1Gauge.Value was set to 10.

    See Also