Table of Contents

Class VerticalSlider

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

A slider control that allows users to select a value from a vertical range.

public class VerticalSlider : Slider, IItemWithId, INotifyAttachedPropertyChanged
Inheritance
VerticalSlider
Implements
Inherited Members

Constructors

VerticalSlider(Stylesheet, string)

Initializes a new instance of the VerticalSlider class with the specified stylesheet and style.

public VerticalSlider(Stylesheet stylesheet, string styleName = "")

Parameters

stylesheet Stylesheet

The stylesheet to use for applying the style.

styleName string

The name of the style to apply. Defaults to the default stylesheet style.

VerticalSlider(string)

Initializes a new instance of the VerticalSlider class with the specified style.

public VerticalSlider(string styleName = "")

Parameters

styleName string

The name of the style to apply. Defaults to the default stylesheet style.

Properties

HorizontalAlignment

Gets or sets the horizontal alignment of the slider.

public override HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

Orientation

Gets the orientation of the slider, which is always vertical.

public override Orientation Orientation { get; }

Property Value

Orientation

VerticalAlignment

Gets or sets the vertical alignment of the slider.

public override VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment