Syncfusion.Gauge.WPF
Members  Example 


Syncfusion.Windows.Gauge Namespace : CircularScale Class

CircularScale Class

Represents the scale visual element.
Object Model
CircularScale ClassPointerCap ClassPointersCollection ClassCircularPointer ClassRangesCollection ClassRangeBase ClassTicksCollection ClassTickBase Class
Syntax
'Declaration
 
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class CircularScale 
   Inherits ScaleBase
'Usage
 
Dim instance As CircularScale
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class CircularScale : ScaleBase 
Remarks
The CircularScale is the System.Windows.Media.Visual.VisualParent for the various elements of the Gauge, such as CircularLabelTick, CircularMarkTick, CircularRange, and CircularPointer.
Example
using System;
using System.Windows;
using System.Windows.Controls;
using Syncfusion.Windows.Shared;
using Syncfusion.Windows.Gauge;
namespace CircularScaleSample
{
    public partial class Window1 : Window
    { 
        private CircularScale m_scale;
        private CircularGauge m_gauge;
        public Window1()
        {
            InitializeComponent();
            m_scale = new CircularScale();
            m_gauge = new CircularGauge();
            m_scale.ShadowOffset = 1;
            m_scale.Minimum = 0;
            m_scale.Maximum = 100;
            m_scale.MinorIntervalValue = 2;
            m_scale.MajorIntervalValue = 10;
            m_scale.StartAngle = 120;
            m_scale.GapSweepAngle = 300;
            m_scale.ScaleBarSize = 5;
            m_scale.Radius = 116;
            this.m_gauge.Scales.Add(m_scale);
            this.Content = m_gauge;
        }
    }
}
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     Syncfusion.Windows.Gauge.GaugeElement
                        Syncfusion.Windows.Gauge.LocalizableGaugeElement
                           Syncfusion.Windows.Gauge.ScaleBase
                              Syncfusion.Windows.Gauge.CircularScale

AssemblyVersion

Syncfusion.Gauge.WPF: 17.4460.0.39

See Also