Table of Contents

Class StdSlider.SliderThumb

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents the slider thumb control.

public class StdSlider.SliderThumb : Splitter, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo
Inheritance
StdSlider.SliderThumb
Implements

Constructors

SliderThumb()

Initializes a new instance of the StdSlider.SliderThumb class.

Fields

DefaultShape

Represents the default shape type used when to initialize Shape property.

Properties

Bounds

Gets or sets the AbstractControl bounds relative to the parent, in device-independent units.

Container

Gets the container that holds the thumb.

IsHorizontal

Gets a value indicating whether the slider's orientation is horizontal.

MinimumLocation

Gets or sets the minimum location constraint for layout positioning.

Orientation

Gets the orientation of the slider.

Shape

Gets or sets the shape type of the thumb.

Methods

DefaultPaint(PaintEventArgs)

Default painting method of the UserControl and its descendants.

DrawSplitterBackground(PaintEventArgs, Color?)

Draws the background of the splitter.

DrawSplitterBorder(PaintEventArgs)

Draws the border of the splitter control.

DrawSplitterForeground(PaintEventArgs, Color?)

Draws the foreground of the splitter.

GetDefaultWidth()

Gets the default width of the splitter.

ResolveSplitterColors(out Color?, out Color?)

Resolves the splitter colors based on the current theme and background.