Table of Contents

Class SliderStyle

Namespace
Myra.Graphics2D.UI.Styles
Assembly
Myra.dll

Style class that defines the visual appearance of slider widgets.

public class SliderStyle : WidgetStyle
Inheritance
SliderStyle
Inherited Members

Constructors

SliderStyle()

Initializes a new instance of the SliderStyle class.

public SliderStyle()

SliderStyle(SliderStyle)

Initializes a new instance of the SliderStyle class by copying properties from another style.

public SliderStyle(SliderStyle style)

Parameters

style SliderStyle

The source slider style to copy from.

Properties

KnobStyle

Gets or sets the style applied to the slider's draggable knob button.

[Browsable(false)]
public ImageButtonStyle KnobStyle { get; set; }

Property Value

ImageButtonStyle

Methods

Clone()

Creates a deep copy of this slider style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new SliderStyle instance with the same properties.