Share via


TextSnapshot.CursorCapsMode Property

Definition

The capitalization mode of the first character being edited in the text.

public int CursorCapsMode { [Android.Runtime.Register("getCursorCapsMode", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getCursorCapsMode", "()I", "", ApiSince=33)>]
member this.CursorCapsMode : int

Property Value

Attributes

Remarks

The capitalization mode of the first character being edited in the text.

Values may be any combination of the following values:

<ul> <li>android.text.TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_CHARACTERS</li> <li>android.text.TextUtils#CAP_MODE_WORDS TextUtils.CAP_MODE_WORDS</li> <li>android.text.TextUtils#CAP_MODE_SENTENCES TextUtils.CAP_MODE_SENTENCES</li> </ul>

You should generally just take a non-zero value to mean "start out in caps mode" though.

Java documentation for android.view.inputmethod.TextSnapshot.getCursorCapsMode().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to