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
handleImageSourcetrackImageSource
Properties
HandleImage
Handle image.
public ImageSource HandleImage { get; }
Property Value
Orientation
Orientation used for controls other than Slider.
public Orientation Orientation { get; init; }
Property Value
TrackImage
Track image (null = vector track from the theme).
public ImageSource? TrackImage { get; }
Property Value
Methods
Render(DrawingContext, Control, in SkinState)
Draws the control for the given state.
public void Render(DrawingContext dc, Control control, in SkinState state)
Parameters
dcDrawingContextcontrolControlstateSkinState