Table of Contents

Class SliderHandleSkin

Namespace
PluginUI
Assembly
PluginUI.dll

Bitmap slider skin: optional track image stretched over the widget area and a handle image moved along the track of a Slider (or of any control, horizontally/vertically by Orientation).

public sealed class SliderHandleSkin : IControlSkin
Inheritance
SliderHandleSkin
Implements
Inherited Members

Constructors

SliderHandleSkin(ImageSource, ImageSource?)

Bitmap slider skin: optional track image stretched over the widget area and a handle image moved along the track of a Slider (or of any control, horizontally/vertically by Orientation).

public SliderHandleSkin(ImageSource handle, ImageSource? track = null)

Parameters

handle ImageSource
track ImageSource

Properties

HandleImage

Handle image.

public ImageSource HandleImage { get; }

Property Value

ImageSource

Orientation

Orientation used for controls other than Slider.

public Orientation Orientation { get; init; }

Property Value

Orientation

TrackImage

Track image (null = vector track from the theme).

public ImageSource? TrackImage { get; }

Property Value

ImageSource

Methods

Render(DrawingContext, Control, in SkinState)

Draws the control for the given state.

public void Render(DrawingContext dc, Control control, in SkinState state)

Parameters

dc DrawingContext
control Control
state SkinState