Show / Hide Table of Contents

Class ScrollBar.ThemeStyle

The drawing code for the scrollbar

Inheritance
object
ScrollBar.ThemeStyle
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.UI.Controls
Assembly: SadConsole.dll
Syntax
[DataContract]
public class ScrollBar.ThemeStyle

Constructors

ThemeStyle()

Declaration
public ThemeStyle()

Fields

BarGlyph

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

Declaration
[DataMember]
public int BarGlyph
Field Value
Type Description
int

BarSize

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

Declaration
public int BarSize
Field Value
Type Description
int

EndButtonHorizontalGlyph

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

Declaration
[DataMember]
public int EndButtonHorizontalGlyph
Field Value
Type Description
int

EndButtonVerticalGlyph

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

Declaration
[DataMember]
public int EndButtonVerticalGlyph
Field Value
Type Description
int

GripGlyph

The glyph for the scroll bar icon.

Declaration
[DataMember]
public int GripGlyph
Field Value
Type Description
int

GripSize

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

Declaration
public int GripSize
Field Value
Type Description
int

GripStart

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

Declaration
public int GripStart
Field Value
Type Description
int

IsMouseOverBar

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

Declaration
public bool IsMouseOverBar
Field Value
Type Description
bool

IsMouseOverDownButton

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

Declaration
public bool IsMouseOverDownButton
Field Value
Type Description
bool

IsMouseOverGripper

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

Declaration
public bool IsMouseOverGripper
Field Value
Type Description
bool

IsMouseOverUpButton

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

Declaration
public bool IsMouseOverUpButton
Field Value
Type Description
bool

StartButtonHorizontalGlyph

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

Declaration
[DataMember]
public int StartButtonHorizontalGlyph
Field Value
Type Description
int

StartButtonVerticalGlyph

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

Declaration
[DataMember]
public int StartButtonVerticalGlyph
Field Value
Type Description
int

Properties

GripEnd

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

Declaration
public int GripEnd { get; }
Property Value
Type Description
int

Methods

UpdateAndRedraw(ScrollBar, TimeSpan)

Redraws the control.

Declaration
public virtual void UpdateAndRedraw(ScrollBar control, TimeSpan time)
Parameters
Type Name Description
ScrollBar control

The control instance.

TimeSpan time

Time of the update frame.

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX