menu

WPF

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

    Show / Hide Table of Contents

    Class TickBase

    Represents the abstract base class for Tick elements used in the Gauge control.

    Inheritance
    System.Object
    GaugeElement
    TickBase
    CircularLabelTick
    CircularMarkTick
    LinearLabelTick
    LinearMarkTick
    Inherited Members
    GaugeElement.BackgroundBrush
    GaugeElement.BackgroundBrushProperty
    GaugeElement.BorderBrush
    GaugeElement.BorderBrushProperty
    GaugeElement.BorderWidth
    GaugeElement.BorderWidthProperty
    Namespace: Syncfusion.Windows.Gauge
    Assembly: Syncfusion.Gauge.WPF.dll
    Syntax
    public abstract class TickBase : GaugeElement

    Constructors

    TickBase()

    Declaration
    protected TickBase()

    Fields

    AngleProperty

    Identifies the Angle dependency property.

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

    DistanceFromScaleProperty

    Identifies the DistanceFromScale dependency property.

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

    RangedBrushEndValueProperty

    Identifies the RangedBrushEndValue dependency property.

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

    RangedBrushProperty

    Identifies the RangedBrush dependency property.

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

    RangedBrushStartValueProperty

    Identifies the RangedBrushStartValue dependency property.

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

    TickPlacementProperty

    Identifies the TickPlacement dependency property.

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

    TickStyleProperty

    Identifies the TickStyle dependency property.

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

    YDistanceFromScaleProperty

    Identifies the YDistanceFromScale dependency property.

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

    Properties

    Angle

    Gets or sets the rotation angle of the tick. This is a dependency property.

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

    Type: System.Double Default value is 0.

    DistanceFromScale

    Gets or sets the distance between the tick and the scale. This is a dependency property.

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

    Type: System.Double Default value is 0.

    RangedBrush

    Gets or sets the Y axis distance between the tick and the scale bottom. This is a dependency property.

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

    Type: System.Windows.Media.Brush Default value is null.

    RangedBrushEndValue

    Gets or sets the end value of the ticks from which the RangedBrush should be used. This is a dependency property.

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

    Type: System.Double Default value is 0.

    RangedBrushStartValue

    Gets or sets the start value of the ticks from which the RangedBrush should be used. This is a dependency property.

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

    Type: System.Double Default value is 0.

    TickPlacement

    Gets or sets the placement of tick, relative to the scale. This is a dependency property.

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

    Type: ScalePlacement Default value is ScalePlacement.Cross.

    TickStyle

    Gets or sets the style of the tick. This is a dependency property.

    Declaration
    public TickStyle TickStyle { get; set; }
    Property Value
    Type Description
    TickStyle

    Type: TickStyle Default value is TickStyle.MajorTick.

    YDistanceFromScale

    Gets or sets the Y axis distance between the tick and the scale bottom. This is a dependency property.

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

    Type: System.Double Default value is 0.

    Methods

    OnAngleChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises AngleChanged event.

    Declaration
    protected virtual void OnAngleChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnDistanceFromScaleChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises DistanceFromScaleChanged event.

    Declaration
    protected virtual void OnDistanceFromScaleChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnTickPlacementChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises TickPlacementChanged event.

    Declaration
    protected virtual void OnTickPlacementChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnTickStyleChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises TickStyleChanged event.

    Declaration
    protected virtual void OnTickStyleChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    Events

    AngleChanged

    Event that is raised when Angle property is changed.

    Declaration
    public event PropertyChangedCallback AngleChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    DistanceFromScaleChanged

    Event that is raised when DistanceFromScale property is changed.

    Declaration
    public event PropertyChangedCallback DistanceFromScaleChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    TickPlacementChanged

    Event that is raised when TickPlacement property is changed.

    Declaration
    public event PropertyChangedCallback TickPlacementChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    TickStyleChanged

    Event that is raised when TickStyle property is changed.

    Declaration
    public event PropertyChangedCallback TickStyleChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved