menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CircularRange - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CircularRange

    CircularRange is a class that denotes various qualitative ranges for a CircularScale.

    Inheritance
    System.Object
    CircularRange
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Gauges
    Assembly: Syncfusion.SfGauge.UWP.dll
    Syntax
    public class CircularRange : Control, IDisposable

    Constructors

    CircularRange()

    Initializes a new instance of the CircularRange class.

    Declaration
    public CircularRange()

    Fields

    EndAngleProperty

    Declaration
    public static readonly DependencyProperty EndAngleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    EndPointProperty

    Declaration
    public static readonly DependencyProperty EndPointProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    EndValueProperty

    Declaration
    public static readonly DependencyProperty EndValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    EndWidthProperty

    Declaration
    public static readonly DependencyProperty EndWidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    GradientStopsProperty

    Declaration
    public static readonly DependencyProperty GradientStopsProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IsLogarithmicProperty

    Declaration
    public static readonly DependencyProperty IsLogarithmicProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RangeSegProperty

    Declaration
    public static readonly DependencyProperty RangeSegProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SizeProperty

    Declaration
    public static readonly DependencyProperty SizeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StartPointProperty

    Declaration
    public static readonly DependencyProperty StartPointProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StartValueProperty

    Declaration
    public static readonly DependencyProperty StartValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StartWidthProperty

    Declaration
    public static readonly DependencyProperty StartWidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StrokeProperty

    Declaration
    public static readonly DependencyProperty StrokeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StrokeThicknessProperty

    Declaration
    public static readonly DependencyProperty StrokeThicknessProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    EndAngle

    Gets value of the CircularRange's EndAngle.

    Declaration
    public double EndAngle { get; }
    Property Value
    Type Description
    System.Double

    double

    Remarks

    EndAngle is a read only property used to get the value of the range's EndAngle.

    EndPoint

    Gets pointvalue of the CircularRange's EndPoint.

    Declaration
    public Point EndPoint { get; }
    Property Value
    Type Description
    Windows.Foundation.Point

    Point

    Remarks

    EndPoint is a read only property used to get the value of the EndPoint.

    EndValue

    Gets or sets the Value of the CircularRange's EndValue.

    Declaration
    public double EndValue { get; set; }
    Property Value
    Type Description
    System.Double

    double

    Remarks

    A range is a visual element which begins and ends at specified values within a scale. These start and end values are set by the StartValue and EndValue properties of Range

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.StrokeThickness = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    EndWidth

    Gets or sets the End Width of the CircularRange.

    Declaration
    public double EndWidth { get; set; }
    Property Value
    Type Description
    System.Double

    double

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.EndWidth = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    GradientStops

    Declaration
    public ObservableCollection<GaugeGradientStop> GradientStops { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<GaugeGradientStop>

    IsLogarithmic

    Gets or sets a value indicating whether the label values should be logarithm

    Declaration
    public bool IsLogarithmic { get; set; }
    Property Value
    Type Description
    System.Boolean

    bool

    RangeSeg

    Declaration
    public PathSegmentCollection RangeSeg { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.PathSegmentCollection

    Size

    Gets Size of the CircularRange which helps to position the CircularRange.

    Declaration
    public Size Size { get; }
    Property Value
    Type Description
    Windows.Foundation.Size

    Size

    Remarks

    Size is a read only property used to get the value of the Size.

    StartPoint

    Gets Pointvalue of the CircularRange's StartPoint.

    Declaration
    public Point StartPoint { get; }
    Property Value
    Type Description
    Windows.Foundation.Point

    Point

    Remarks

    StartPoint is a read only property used to get the value of the StartPoint.

    StartValue

    Gets or sets the Value of the CircularRange's StartValue.

    Declaration
    public double StartValue { get; set; }
    Property Value
    Type Description
    System.Double

    double

    Remarks

    A range is a visual element which begins and ends at specified values within a scale. These start and end values are set by the StartValue and EndValue properties of Range

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.StrokeThickness = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    StartWidth

    Gets or sets the Start Width of the CircularRange.

    Declaration
    public double StartWidth { get; set; }
    Property Value
    Type Description
    System.Double

    double

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.StartWidth = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    Stroke

    Gets or sets the brush that describes the Stroke value of the CircularRange.

    Declaration
    public Brush Stroke { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    Brush

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.StrokeThickness = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    StrokeThickness

    Gets or sets thickness of the RangeStroke.

    Declaration
    public double StrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    double

    Examples
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Common;
    using Syncfusion.UI.Xaml.Gauges;
    
    namespace GaugeWinRTSamples
    {
        public sealed partial class GaugePosition :SampleView
        {
            public GaugePosition()
            {
               InitializeComponent();
               SfCircularGauge gauge = new SfCircularGauge();
               CircularRange range1 = new CircularRange();
               range1.StartValue = 0;
               range1.EndValue = 40;
               range1.Stroke = new SolidColorBrush(Colors.Green);
               range1.StrokeThickness = 10;            
               gauge.MainScale.Ranges.Add(range1);            
            }
        }
    }

    Methods

    Dispose()

    Declaration
    public void Dispose()

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved