Table of Contents

Class SystemScrollBarRenderer

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

Represents properties and methods used to paint scrollbar elements in Windows system style.

public class SystemScrollBarRenderer : IScrollBarRenderer, IDisposable
Inheritance
SystemScrollBarRenderer
Implements

Properties

ScrollBarsCornerColor

Gets a color for the scrollbar corner.

ThumbAlwaysHovered

Gets a value indicating whether thumb is always in hot state.

Methods

Dispose()

Disposes this ScrollBarRenderer and frees resources associated with it.

Dispose(bool)
DrawArrowButton(Graphics, Rectangle, ScrollBarArrowButtonState)

Draws arrow button.

DrawHorizontalScrollBarBackground(Graphics, Rectangle, ScrollBarState)

Draws background of the horizontal scrollbar.

DrawHorizontalThumb(Graphics, Rectangle, ScrollBarState)

Draws horizontal thumb.

DrawHorizontalThumbGrip(Graphics, Rectangle, ScrollBarState)

Draws horizontal grip.

DrawLeftHorizontalTrack(Graphics, Rectangle, ScrollBarState)

Draws horizontal track.

DrawLowerVerticalTrack(Graphics, Rectangle, ScrollBarState)

Draws lower vertical track.

DrawRightHorizontalTrack(Graphics, Rectangle, ScrollBarState)

Draws right horizontal track.

DrawUpperVerticalTrack(Graphics, Rectangle, ScrollBarState)

Draws upper vertical track.

DrawVerticalScrollBarBackground(Graphics, Rectangle, ScrollBarState)

Draws background of the vertical scrollbar.

DrawVerticalThumb(Graphics, Rectangle, ScrollBarState)

Draws vertical thumb.

DrawVerticalThumbGrip(Graphics, Rectangle, ScrollBarState)

Draws vertical grip.

GetThumbGripSize(Graphics, ScrollBarState)

Gets the size of the thumb grip.