WinForms › Scroll Bars › IScrollBarTrackRenderer
IScrollBarTrackRenderer
interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars
Draws the track of a scroll bar – the background its arrows and thumb sit on. Implement it and assign it
to ScrollBarBase.ScrollBarTrackRenderer to replace the built-in fill.
public interface IScrollBarTrackRenderer
Members at a glance
| Methods | |
|---|---|
Draw | Draws the track. |
Methods
Draw
void Draw(Graphics graphicsInstanceToDrawOnto, Rectangle drawingBounds)
Draws the track.
Parameters
graphicsInstanceToDrawOnto- The bar's drawing surface.
drawingBounds- The bar's whole client area; the arrows and the thumb are drawn over it afterwards.