Skip to main content

ScaleBreak Class

Definition

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a scale break on a numerical axis, allowing it to skip a range of values.

public class ScaleBreak

Inheritance: object -> AvaloniaObject -> ScaleBreak

Constructors

NameDescription
ScaleBreakNo summary available.

ScaleBreak Constructor

public ScaleBreak()

Methods

NameDescription
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject.
ClearValue (4 overloads)Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetCurrentValue (2 overloads)Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject.
SetValue (3 overloads)Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties

NameDescription
EndGets or sets the ending value of the scale break.
StartGets or sets the starting value of the scale break.
StrokeGets or sets the brush used to draw the break lines.
StrokeThicknessGets or sets the thickness of the break lines.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
ItemInherited from AvaloniaObject.

End Property

Gets or sets the ending value of the scale break.

public double End { get; set; }

Start Property

Gets or sets the starting value of the scale break.

public double Start { get; set; }

Stroke Property

Gets or sets the brush used to draw the break lines.

public Avalonia.Media.IBrush Stroke { get; set; }

StrokeThickness Property

Gets or sets the thickness of the break lines.

public double StrokeThickness { get; set; }

Fields

EndProperty Field

Identifies the Avalonia.Controls.Charts.ScaleBreak.End Avalonia property.

public Avalonia.StyledProperty<double> EndProperty

StartProperty Field

Identifies the Avalonia.Controls.Charts.ScaleBreak.Start Avalonia property.

public Avalonia.StyledProperty<double> StartProperty

StrokeProperty Field

Identifies the Avalonia.Controls.Charts.ScaleBreak.Stroke Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> StrokeProperty

StrokeThicknessProperty Field

Identifies the Avalonia.Controls.Charts.ScaleBreak.StrokeThickness Avalonia property.

public Avalonia.StyledProperty<double> StrokeThicknessProperty

Events

NameDescription
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.