Interface IScrollBarRenderer
Represents properties and methods used to paint scrollbar elements.
public interface IScrollBarRenderer : IDisposable
Properties
- ScrollBarsCornerColor
When implemented by a class, gets a color for the scrollbar corner.
- ThumbAlwaysHovered
When implemented by a class, gets a value indicating whether thumb is always in hot state.
Methods
- DrawArrowButton(Graphics, Rectangle, ScrollBarArrowButtonState)
When implemented by a class, draws arrow button.
- DrawHorizontalScrollBarBackground(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws background of the horizontal scrollbar.
- DrawHorizontalThumb(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws horizontal thumb.
- DrawHorizontalThumbGrip(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws horizontal grip.
- DrawLeftHorizontalTrack(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws horizontal track.
- DrawLowerVerticalTrack(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws lower vertical track.
- DrawRightHorizontalTrack(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws right horizontal track.
- DrawUpperVerticalTrack(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws upper vertical track.
- DrawVerticalScrollBarBackground(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws background of the vertical scrollbar.
- DrawVerticalThumb(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws vertical thumb.
- DrawVerticalThumbGrip(Graphics, Rectangle, ScrollBarState)
When implemented by a class, draws vertical grip.
- GetThumbGripSize(Graphics, ScrollBarState)
When implemented by a class, gets the size of the thumb grip.