Class TickBar
Represents a TickBar Control
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
public class TickBar : Control, IDisposable
  Constructors
TickBar()
Initializes a new instance of the 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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.DependencyProperty | 
LabelColorProperty
Using a DependencyProperty as the backing store for LabelColor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LabelColorProperty
  Field Value
| Type | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|---|
| Windows.UI.Xaml.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 | 
  | 
      
Remarks
The default value is false
LabelColor
Gets or sets the text color of the label
Declaration
public Brush LabelColor { get; set; }
  Property Value
| Type | 
|---|
| Windows.UI.Xaml.Media.Brush | 
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 | 
|---|
| Windows.UI.Xaml.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 | 
|---|---|
| Windows.UI.Xaml.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 | 
  | 
      
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 | 
  | 
      
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 | 
|---|---|
| Windows.UI.Xaml.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
add_LabelLoaded(LabelLoadedEventHandler)
Declaration
public void add_LabelLoaded(LabelLoadedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LabelLoadedEventHandler | value | 
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 TickBar
Declaration
protected override void OnApplyTemplate()
  remove_LabelLoaded(LabelLoadedEventHandler)
Declaration
public void remove_LabelLoaded(LabelLoadedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LabelLoadedEventHandler | value | 
Events
LabelLoaded
Occurs when Label values are drawnSyncfusion.UI.Xaml.Controls.Layout.Input is changed.
Declaration
public event LabelLoadedEventHandler LabelLoaded
  Event Type
| Type | 
|---|
| LabelLoadedEventHandler |