WinForms › Scroll Bars › IScrollBarTrackRenderer
IScrollBarTrackRenderer
interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars
Draws the track a scroll bar thumb runs in. Implement it to replace the built-in look without touching the scroll bar's behavior.
public interface IScrollBarTrackRenderer
Members at a glance
Draw | Draws the part into the given bounds. |
Methods
Draw
void Draw(Graphics graphicsInstanceToDrawOnto, Rectangle drawingBounds)
Draws the part into the given bounds.
- graphicsInstanceToDrawOnto
- The surface to draw on.
- drawingBounds
- The bounds of the part.