Table of Contents

Method GetThumbSize

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetThumbSize(bool, SizeD, double?)

Gets size of the scroll thumb from the system metrics.

public SizeD GetThumbSize(bool isVertical, SizeD size, double? scaleFactor = null)

Parameters

isVertical bool

Whether scroll bar is vertical or horizontal.

size SizeD

Size of the scroll bar.

scaleFactor double?

Scaling factor. Optional.

Returns

SizeD