ICaret Interface
Definition
Represents properties and methods to handle caret within the Edit control.
Syntax
public interface ICaret
Properties
CurrentBlockRange | When implemented by a class, gets currently highlighted block range. |
HideCaret | When implemented by a class, gets or sets a value indicating whether the control should display caret when it has input focus. |
KeepCaretOnLostFocus | When implemented by a class, keeps caret in visible state even Edit control lost focus. |
Methods
CreateCaret() | When implemented by a class, creates a new shape for the system caret and gets ownership of the caret. |
DestroyCaret() | When implemented by a class, destroys the caret's current shape, frees the caret from the control, and removes the caret from the screen. |
DisplayDragCaret() | When implemented by a class, displays dragging caret rather than regular caret. |
GetCaretSize(Point) | When implemented by a class, returns size of the caret's current shape at given position. |
HideDragCaret() | When implemented by a class, hides dragging caret. |
KillFocus() | When implemented by a class, ensure the caret is not visible. |
ResetHideCaret() | When implemented by a class, resets the |
ResetKeepCaretOnLostFocus() | When implemented by a class, resets the |
ShowCaret(Int32, Int32) | When implemented by a class, moves the caret to the specified coordinates. |
UpdateCaret() | When implemented by a class, ensures the caret is displayed in the current position. |