HypernovaDesktop Components · docs
Binarymission
WinFormsScroll Bars › IScrollBarThumbGripperRenderer

IScrollBarThumbGripperRenderer

interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars

Draws the grip marks on a scroll bar thumb. Implement it to replace the built-in look without touching the scroll bar's behavior.

public interface IScrollBarThumbGripperRenderer

Members at a glance

DrawDraws the part into the given bounds.

Methods

Draw

void Draw(Graphics graphicsInstanceToDrawOnto, Rectangle drawingBounds, ControlVisualState controlVisualState)

Draws the part into the given bounds.

graphicsInstanceToDrawOnto
The surface to draw on.
drawingBounds
The bounds of the part.
controlVisualState
Whether the part is idle, hot or pressed.