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