ComponentOne Gauges for WPF and Silverlight
About C1Gauges / Using C1LinearGauge / 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 Minimum and 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 Minimum and Maximum properties (of type double). The default range for a C1LinearGauge control is from 0 to 100.

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