Method CalculateSize
CalculateSize(int, int, int)
Gets the slider size.
public static int CalculateSize(int scrollableContentSize, int visibleContentSize, int sliderBounds)
Parameters
scrollableContentSize
intThe size of the content.
visibleContentSize
intThe size of the visible content.
sliderBounds
intThe bounds of the area the slider moves in (e.g. the size of the ScrollBar minus 2).