Table of Contents

Class VisualStudioScrollBarRenderer

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

Represents properties and methods used to paint scrollbar elements in Visual Studio style.

public class VisualStudioScrollBarRenderer : IScrollBarRenderer, IDisposable, IScrollBarThemeRenderer
Inheritance
VisualStudioScrollBarRenderer
Implements

Constructors

VisualStudioScrollBarRenderer(ScrollBar)

Initializes a new instance of the VisualStudioScrollBarRenderer class with a specified owner.

Properties

ArrowImageResourceNameFormatString
BackgroundColor

Gets or sets a color to draw scrollbar elements background.

ScrollBarsCornerColor

Gets a color for the scrollbar corner.

ThumbAlwaysHovered

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

ThumbHoveredColor

Gets or sets a color of the thumb element in the hovered state.

ThumbNormalColor

Gets or sets a color of the thumb element in the normal state.

ThumbPressedColor

Gets or sets a color of the thumb element in the pressed state.

Methods

Dispose()

Disposes this VisualStudioScrollBarRenderer 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.

LoadArrowImages()