Table of Contents

Class ScrollBar.MetricsInfo

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

Contains properties which specify different scrollbar metrics.

public class ScrollBar.MetricsInfo : ScrollBar.MetricsInfo<int>
Inheritance
ScrollBar.MetricsInfo

Constructors

MetricsInfo()

Initializes a new instance of the ScrollBar.MetricsInfo struct.

Methods

GetArrowBitmapSize(bool, double?)

Gets size of the arrow bitmap.

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.

GetThumbSize(bool, SizeD, double?)

Gets size of the scroll thumb from the system metrics.

Log()

Logs scroll bar metrics.

Reset()

Resets all properties, reloading them from the system settings.