Table of Contents

Class PlessControlHandler

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

Platformless implementation of the IControlHandler interface.

public class PlessControlHandler : BaseControlHandler, IBaseObjectWithId, IControlHandler, IDisposableObject, IDisposable, IBaseObject
Inheritance
PlessControlHandler
Implements
Derived

Properties

BackgroundColor

Gets or sets the background color for the control.

Bounds

Gets or sets the AbstractControl bounds relative to the parent, in device-independent units.

Font

Gets or sets the font of the text displayed by the control.

ForegroundColor

Gets or sets the foreground color for the control.

HorzScrollBarInfo

Gets or sets horizontal scrollbar position as ScrollBarInfo. This makes sense only for UserControl descendants.

IsScrollable

Gets or sets whether controls is scrollable. This makes sense only for UserControl descendants.

VertScrollBarInfo

Gets or sets vertical scrollbar position as ScrollBarInfo. This makes sense only for UserControl descendants.

Visible

Gets or sets a value indicating whether the control and all its child controls are displayed.

VisibleOnScreen

Gets whether control is visible on screen.

Methods

EnableTouchEvents(TouchEventsMask)

Enables or disables receiving of the touch events.

GetPixelScaleFactor()

Gets scale factor.

InvalidateBestSize()

Resets the cached best size value so it will be recalculated the next time it is needed.

SetToolTip(string?)

Sets tooltip text.

UpdateFocusFlags(bool, bool)

Updates focus related flags.