Table of Contents

Class PlessCaretHandler

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

Platform independent implementation of the ICaretHandler interface.

public class PlessCaretHandler : DisposableObject, IBaseObjectWithId, IDisposableObject, IBaseObject, ICaretHandler, IDisposable
Inheritance
PlessCaretHandler
Implements
Derived

Constructors

PlessCaretHandler()

Initializes a new instance of the PlessCaretHandler class.

PlessCaretHandler(AbstractControl, int, int)

Initializes a new instance of the PlessCaretHandler class.

Fields

DefaultOverlayColor

Gets or sets color which is used to paint caret overlay image. If null, caret color us used.

DefaultOverlayImage

Gets or sets svg image which is used as overlay image over the caret. This is used for example when editor is in the selection state on the mobile platform. If null, ImgCircleFilled is used.

Properties

BlinkTime

Gets or sets blink time of the carets.

CaretBlinkTime

Gets or sets caret blonk time. This is a dummy property and is not currently used.

CaretColor

Gets or sets caret colors.

Control

Control to which this caret is attached.

IsOk

Returns true if the caret was created successfully.

Position

Gets or sets the caret position (in pixels).

Size

Gets or sets the caret size.

Visible

Gets or sets a bool value indicating whether the caret is visible.

Methods

Changed()

Called to update the caret on screen when its position, size or visibility were changed.

DisposeManaged()

Override to dispose managed resources. Here we dispose all used object references.