HypernovaDesktop Components · docs
Binarymission
WinForms › Scroll Bars › IScrollBarThumbGripperRenderer

IScrollBarThumbGripperRenderer

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

Draws the grip marks across a scroll bar's thumb. Implement it and assign it to ScrollBarBase.ScrollBarThumbGripperRenderer to replace the built-in ridges.

public interface IScrollBarThumbGripperRenderer

Members at a glance

Methods
DrawDraws the grip marks for the thumb.

Methods

Draw

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

Draws the grip marks for the thumb.

Parameters
graphicsInstanceToDrawOnto
The bar's drawing surface.
drawingBounds
The whole thumb's bounds in the bar's client coordinates; draw the grip inside them, usually centred.
controlVisualState
Whether the thumb is idle, under the pointer or being dragged.