menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ICursor - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ICursor

    Namespace: Syncfusion.Windows.Edit
    Assembly: Syncfusion.Edit.Wpf.dll
    Syntax
    public interface ICursor

    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()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved