Table of Contents

Method GetPreferredSize

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

GetPreferredSize(bool, double?)

Gets preferred size of the scrollbar. Height for the vertical scroll bar is returned as NaN. Width for the horizontal scrollbar is returned as Nan.

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

Parameters

isVertical bool
scaleFactor double?

Returns

SizeD