Interface ICursor
ICursor interface has the Cursor properties of Cursor layer
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public interface ICursor
Remarks
ICorsor has CursorIndex and LineNumber property. The CursorIndex specifies the current position of the cursor and the LineNumber specifies the current cursor linenumber.
Properties
CursorIndex
Gets or sets the index of the cursor.
Declaration
int CursorIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the cursor. |
LineNumber
Gets or sets the line number.
Declaration
int LineNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The line number. |
Methods
Hide()
Hides the cursor.
Declaration
void Hide()
MoveTo(Int32)
Moves the cursor pointer to a particular location.
Declaration
int MoveTo(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | The index of cursor position. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the cursor index |
MoveToBegin()
Moves to begin.
Declaration
int MoveToBegin()
Returns
Type | Description |
---|---|
System.Int32 | Returns the cursor index. |
MoveToEnd()
Moves to end.
Declaration
int MoveToEnd()
Returns
Type | Description |
---|---|
System.Int32 | Returns the cursor index. |
Show()
Shows the cursor.
Declaration
void Show()