Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Gauge Assembly / C1.Xamarin.Forms.Gauge Namespace / C1Gauge Class / ShowRanges Property


In This Topic
    ShowRanges Property
    In This Topic
    Gets or sets whether the gauge should display the ranges contained in the ranges property.
    Syntax
    'Declaration
     
    
    Public Property ShowRanges As Boolean
    'Usage
     
    
    Dim instance As C1Gauge
    Dim value As Boolean
     
    instance.ShowRanges = value
     
    value = instance.ShowRanges
    public bool ShowRanges {get; set;}
    Remarks
    If this property is set to false, the ranges contained in the ranges property are not displayed in the gauge. Instead, they are used to interpolate the color of the pointer range while animating value changes.
    See Also