Table of Contents

Class PlatformUtils

Namespace
Alternet.Common
Assembly
Alternet.Common.Winforms.v10.dll
public static class PlatformUtils
Inheritance
PlatformUtils

Methods

CaretSetPosition(AbstractControl, double, double)
CaretSetPosition(Control, int, int)
CreateAndShowCaret(AbstractControl, int, int)
CreateAndShowCaret(Control, int, int)
CreatePainter(Control)
CreatePainter(Control)
CursorFromResource(Type, string)
GetDpiScale(AbstractControl)
GetDpiScale(Control)
GetFont(AbstractControl)
GetFont(Control)
GetFontHeight(Font, AbstractControl)
GetFontHeight(Font, Control)
GetMousePos(AbstractControl)
GetMousePos(Control)
GetScreenCaps(AbstractControl)
GetScreenCaps(Control)
GetScrollPos(AbstractControl, bool, bool)
GetScrollPos(Control, bool, bool)

Retrieves the current position of the scroll box (thumb) in the specified scroll bar.

GetScrollSize(AbstractControl, bool, bool)
GetScrollSize(bool)

Retrieves dimension of the arrow bitmap of a scroll bar, in pixels.

GetScrollSize(Control, bool, bool)

Retrieves the page size of the scroll box (thumb) in the specified scroll bar.

GetScrollType(int)
HideAndDisposeCaret(AbstractControl)
HideAndDisposeCaret(Control)
ImageListMakeBkColorTransparent(ImageList)
ImageListMakeBkColorTransparent(ImageList)
InitializeFlatSB(AbstractControl)
InitializeFlatSB(Control)
IsDarkColor(Color)
IsDarkColor(Color)
MakeColorDarker(Color)
MakeColorDarker(Color)
MakeColorDarkerDarker(Color)
MakeColorDarkerDarker(Color)
MakeColorLighter(Color)
MakeColorLighter(Color)
MakeColorLighterLighter(Color)
MakeColorLighterLighter(Color)
ScaleFactorChanged()
ScrollWindow(AbstractControl, double, double, RectD, RectD)
ScrollWindow(Control, int, int, Rectangle, Rectangle)
SendSetCursorMessage(AbstractControl)
SendSetCursorMessage(Control)
SetCursor(AbstractControl, Cursor?)
SetCursor(Control, Cursor?)
SetScrollBar(AbstractControl, bool, int, int, bool)
SetScrollBar(Control, bool, int, int, bool)

Sets the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

SetScrollPos(AbstractControl, bool, int, bool)
SetScrollPos(Control, bool, int, bool)

Sets the position of the scroll box (thumb) in the specified scroll bar.

UninitializeFlatSB(AbstractControl)
UninitializeFlatSB(Control)