Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / EditBase Class / CaretIndex Property


In This Topic
    CaretIndex Property
    In This Topic
    Gets or sets the insertion position index of the caret.
    Syntax
    'Declaration
     
    Public Property CaretIndex As Integer
    'Usage
     
    Dim instance As EditBase
    Dim value As Integer
     
    instance.CaretIndex = value
     
    value = instance.CaretIndex
    public int CaretIndex {get; set;}

    Property Value

    The zero-based insertion position index of the caret.
    Remarks

    Getting this property returns the current insertion position index of the caret. Setting this property moves the caret to the specified insertion position.

    An insertion position is between either characters or element tags.

    See Also