Share via


InputView.CursorPosition 属性

定义

获取或设置光标位置。 该值必须大于或等于 0 且小于或等于 的 Text长度。 这是一种可绑定属性。

public:
 property int CursorPosition { int get(); void set(int value); };
public int CursorPosition { get; set; }
member this.CursorPosition : int with get, set
Public Property CursorPosition As Integer

属性值

适用于