In This Article

IScrollBarRenderer Interface

Provides the base requirements for a ScrollBar control renderer.

[TypeConverter(typeof(GenericExpandableNullableObjectConverter))]
public interface IScrollBarRenderer : IDisposable, IUIRenderer

Methods

DrawScrollBarBackground(PaintEventArgs, Rectangle, ScrollBar)

Draws the background of a ScrollBar control.

void DrawScrollBarBackground(PaintEventArgs e, Rectangle bounds, ScrollBar scrollBar)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

scrollBar ScrollBar

The ScrollBar being painted.

DrawScrollBarButton(PaintEventArgs, Rectangle, ScrollBarButton)

Draws a ScrollBarButton.

void DrawScrollBarButton(PaintEventArgs e, Rectangle bounds, ScrollBarButton button)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

button ScrollBarButton

The ScrollBarButton that is being painted.

DrawScrollBarThumb(PaintEventArgs, Rectangle, ScrollBarThumb)

Draws a ScrollBarThumb.

void DrawScrollBarThumb(PaintEventArgs e, Rectangle bounds, ScrollBarThumb thumb)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

thumb ScrollBarThumb

The ScrollBarThumb that is being painted.

Inherited Members

Extension Methods