menu

WPF

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

    Show / Hide Table of Contents

    Class CircularLabelTickCollection

    Represents the numeric label tick of the circular scale.

    Inheritance
    System.Object
    CircularLabelTickCollection
    Namespace: Syncfusion.Windows.Gauge
    Assembly: Syncfusion.Gauge.WPF.dll
    Syntax
    public class CircularLabelTickCollection : ObservableCollection<CircularLabelTick>
    Remarks

    The CicularLabelTick can be made to display Labels for either the MajorTick or MinorTick. The Tick to which the labels should be placed is set by using the TickStyle property.

    Examples
    
    
    
    
    
                        
    
    
    
    
    
    using System;
    using System.Windows;
    using System.Windows.Controls;
    using Syncfusion.Windows.Shared;
    using Syncfusion.Windows.Gauge;

    namespace CircularLableTickSample { public partial class Window1 : Window { private CircularGauge m_gauge; private CircularScale m_scale; private CircularLabelTick m_label;

    public Window1() { InitializeComponent();

    m_gauge = new CircularGauge(); m_scale = new CircularScale(); m_label = new CircularLabelTick(); 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 = 10; m_scale.Radius = 116; m_label.TickPlacement = ScalePlacement.Inside; m_label.DistanceFromScale = 5; m_label.FontSize = 13; m_label.TickStyle = TickStyle.MajorTick; m_label.BackgroundBrush = Brushes.GhostWhite; m_gauge.Scales.Add(m_scale); m_scale.Ticks.Add(m_label); this.Content = m_gauge; } } }

    Constructors

    CircularLabelTickCollection()

    Declaration
    public CircularLabelTickCollection()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved