Skip to content

ScrollBar.ThemeStyle Class

The drawing code for the scrollbar

C#
[DataContract]
public class ScrollBar.ThemeStyle

Inheritance object

C#
public ThemeStyle()

The glyph for the start button when the control is vertical.

C#
[DataMember]
public int StartButtonVerticalGlyph

The glyph for the end button when the control is vertical.

C#
[DataMember]
public int EndButtonVerticalGlyph

The glyph for the start button when the control is horizontal.

C#
[DataMember]
public int StartButtonHorizontalGlyph

The glyph for the end button when the control is horizontal.

C#
[DataMember]
public int EndButtonHorizontalGlyph

The glyph for the scroll bar bar where the slider is not located.

C#
[DataMember]
public int BarGlyph

The glyph for the scroll bar icon.

C#
[DataMember]
public int GripGlyph

The size of the bar area. Calculated automatically by the control.

C#
public int BarSize

The size of the grip. Calculated automatically by the control.

C#
public int GripSize

The cell the grip starts at. Calculated automatically by the control.

C#
public int GripStart

Indicates that the mouse is above the up arrow button. Calculated automatically by the control.

C#
public bool IsMouseOverUpButton

Indicates that the mouse is above the down arrow button. Calculated automatically by the control.

C#
public bool IsMouseOverDownButton

Indicates that the mouse is above the gripper. Calculated automatically by the control.

C#
public bool IsMouseOverGripper

Indicates that the mouse is not above the empty part of the bar. Calculated automatically by the control.

C#
public bool IsMouseOverBar

The cell the grip ends at. Calculated automatically by the control.

C#
public int GripEnd { get; }

Redraws the control.

C#
public virtual void UpdateAndRedraw(ScrollBar control, TimeSpan time)

control ScrollBar
The control instance.

time TimeSpan
Time of the update frame.