Represents text insertion point (flashing vertical line) in the editor control.
For a list of all members of this type, see Caret Members.
System.Object
Aspose.Editor.Client.Caret
[Visual Basic]
MustInherit Public Class Caret
[C#]public abstract class Caret
Remarks
You do not create instances of this class directly. You access caret using the Caret property of the EditorControl object.
Example
Shows how to modify caret visual properties.
[C#]
// Normally this code is generated by Visual Studio .NET when you drag and drop
// the editor control into your Windows Form, but you can also code it youself.
EditorControl editorControl = new EditorControl();
editorControl.Dock = DockStyle.Fill;
// Set caret blinking rate.
editorControl.Caret.Interval = 500;
// Color is a static property.
Caret.Color = Color.Red;
[Visual Basic]
' Normally this code is generated by Visual Studio .NET when you drag and drop
' the editor control into your Windows Form, but you can also code it youself.
Dim editorControl As New EditorControl()
editorControl.Dock = DockStyle.Fill
' Set caret blinking rate.
editorControl.Caret.Interval = 500
' Color is a static property.
Caret.Color = Color.Red
Requirements
Namespace: Aspose.Editor.Client
Assembly: Aspose.Editor.Client (in Aspose.Editor.Client.dll)
See Also
Caret Members | Aspose.Editor.Client Namespace | EditorControl