Table of Contents

Class CaretLayer

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents a surface for rendering TextEditor caret.

public sealed class CaretLayer : Layer, IAnimatable, IInputElement
Inheritance
CaretLayer
Implements
Extension Methods

Constructors

CaretLayer(TextEditorView)

Initializes a new instance of the CaretLayer class with specified parameters.

Methods

GetCaretBlinkTime()
HideCaret()

Hides the caret's current shape.

OnRender(DrawingContext)

When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

ShowCaret(Rect)

Makes the caret visible on the screen at the specified position.