WinForms › Scroll Bars › IScrollBarNavigationButtonRenderer
IScrollBarNavigationButtonRenderer
interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars
Draws the arrow buttons at the ends of a scroll bar. Implement it to replace the built-in look without touching the scroll bar's behavior.
public interface IScrollBarNavigationButtonRenderer
Members at a glance
Draw | Draws the part into the given bounds. |
Methods
Draw
void Draw(Graphics graphicsInstanceToDrawOnto, Rectangle drawingBounds, ArrowDrawingArtefact arrowPosition, ControlVisualState currentControlVisualState)
Draws the part into the given bounds.
- graphicsInstanceToDrawOnto
- The surface to draw on.
- drawingBounds
- The bounds of the part.
- arrowPosition
- Which way the arrow points.
- currentControlVisualState
- Whether the part is idle, hot or pressed.