menu

WPF

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

    Show / Hide Table of Contents

    Class TickBar

    Represents a TickBar Control

    Inheritance
    System.Object
    TickBar
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Input
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class TickBar : Control, IDisposable

    Constructors

    TickBar()

    Initializes a new instance of the Syncfusion.UI.Xaml.Controls.Input.TickBar class.

    Declaration
    public TickBar()

    Fields

    CustomLabelsProperty

    Using a DependencyProperty as the backing store for CustomLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty CustomLabelsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FillProperty

    Using a DependencyProperty as the backing store for Fill. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FillProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsDirectionReversedProperty

    Using a DependencyProperty as the backing store for IsDirectionReversed. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IsDirectionReversedProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelOrientationProperty

    Using a DependencyProperty as the backing store for LabelOrientation. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelOrientationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelPlacementProperty

    Using a DependencyProperty as the backing store for LabelPlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelPlacementProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MaximumProperty

    Using a DependencyProperty as the backing store for Maximum. This enables animation, styling, binding, etc... Using a DependencyProperty as the backing store for Maximum. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MaximumProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinimumProperty

    Using a DependencyProperty as the backing store for Minimum. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinimumProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OrientationProperty

    Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty OrientationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowCustomLabelsProperty

    Using a DependencyProperty as the backing store for ShowCustomLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowCustomLabelsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowValueLabelsProperty

    Using a DependencyProperty as the backing store for ShowValueLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowValueLabelsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TickFrequencyProperty

    Using a DependencyProperty as the backing store for TickFrequency. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TickFrequencyProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TickPlacementProperty

    Using a DependencyProperty as the backing store for TickPlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TickPlacementProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TicksProperty

    Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TicksProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ValuePlacementProperty

    Using a DependencyProperty as the backing store for ValuePlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ValuePlacementProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    CustomLabels

    Gets or sets the value for custom labels.

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

    Fill

    Gets or sets the Brush that is used to draw the tick marks.

    Declaration
    public Brush Fill { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The fill.

    IsDirectionReversed

    Gets or sets a value indicating whether true or false.

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

    true if instance is created; otherwise, false.

    Remarks

    The default value is false

    LabelOrientation

    Gets or sets a value on setting the label orientation. Windows.UI.Xaml.Controls.Orientation

    Declaration
    public Orientation LabelOrientation { get; set; }
    Property Value
    Type
    System.Windows.Controls.Orientation

    LabelPlacement

    Gets or sets the value that determines the placement of label.

    Declaration
    public LabelPlacement LabelPlacement { get; set; }
    Property Value
    Type
    LabelPlacement

    Maximum

    Gets or sets the value indicating maximum value of the range.

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

    The maximum.

    Minimum

    Gets or sets the value indicating minimum value of the range.

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

    The minimum.

    Orientation

    Gets or sets the value that determines orientation of the control either vertical or horizontal.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.Orientation

    The tick bar orientation.

    ShowCustomLabels

    Gets or sets a value indicating whether true or false.

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

    true if instance is created; otherwise, false.

    Remarks

    The default value is false

    ShowValueLabels

    Gets or sets a value indicating whether true or false.

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

    true if instance is created; otherwise, false.

    Remarks

    The default value is false

    TickFrequency

    Gets or sets the value that determines intervals of the thumb step movement.

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

    The tick frequency.

    TickPlacement

    Gets or sets the value that determines intervals of the tick representation.

    Declaration
    public TickPlacement TickPlacement { get; set; }
    Property Value
    Type
    TickPlacement

    Ticks

    Gets or sets the positions of the tick marks.

    Declaration
    public DoubleCollection Ticks { get; set; }
    Property Value
    Type Description
    System.Windows.Media.DoubleCollection

    The ticks.

    ValuePlacement

    Gets or sets the value that determines the placement of value representation.

    Declaration
    public ValuePlacement ValuePlacement { get; set; }
    Property Value
    Type
    ValuePlacement

    Methods

    CreateTicks()

    Create the specified number of ticks

    Declaration
    public void CreateTicks()

    Dispose()

    To dispose unused objects

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose method.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    boolean type

    OnApplyTemplate()

    Initializes all the child elements of the control Syncfusion.UI.Xaml.Controls.Input.TickBar

    Declaration
    public override void OnApplyTemplate()

    Events

    LabelLoaded

    Occurs when Label values are drawnSyncfusion.UI.Xaml.Controls.Layout.Input is changed.

    Declaration
    public event LabelLoadedEventHandler LabelLoaded
    Event Type
    Type
    LabelLoadedEventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved