ScrollBars - kris701/NDX GitHub Wiki

Table of Content

Overview

Up to date as of version 1.0

NDX can also make scrollbars for you with, as well as everything else, a lot of settings.

Scrollbar settings

Setting Function
bool AutoScroll { get, set} Gets or sets if NDX should autoscroll the form.
int ScrollBarInnerMargin { get, set} Gets or sets the inner margin of the scollbar.
int ScrollBarMargin { get, set} Gets or sets the scrollbar margin, relative to the edge of the form.
int ScrollWheenSteps { get, set} Gets or sets how many pixels to move pr tick with the scrollwheel.

Vertical scrollbar settings

Setting Function
bool ShowVerticalScrollBar { get, set} Gets or sets if the vertical scrollbar should be shown
color VerticalScrollBarColor { get, set} Gets or sets the color of the scrollbar
color VerticalScrollBarInnerColor{ get, set} Gets or sets the color of the inner drag box
int VerticalScrollBarWidth { get, set} Gets or sets the vertical scrollbar width
int VerticalScrollBarMinHeight { get, set} Gets or sets the minimum height of the vertical scrollbar

Horisontal scrollbar settings

Setting Function
bool ShowHorisontalScrollBar { get, set} Gets or sets if the horisontal scrollbar should be shown
color HorisontalScrollBarColor { get, set} Gets or sets the color of the scrollbar
color HorisontalScrollBarInnerColor { get, set} Gets or sets the color of the inner drag box
int HorisontalScrollBarHeight { get, set} Gets or sets the horisontal scrollbar height
int HorisontalScrollBarMinWidth { get, set} Gets or sets the minimum width of the horisontal scrollbar