Condividi tramite


EditorInfo.InitialCapsMode Property

Definition

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

[Android.Runtime.Register("initialCapsMode")]
public Android.Text.CapitalizationMode InitialCapsMode { get; set; }
[<Android.Runtime.Register("initialCapsMode")>]
member this.InitialCapsMode : Android.Text.CapitalizationMode with get, set

Property Value

Attributes

Remarks

The capitalization mode of the first character being edited in the text. Values may be any combination of TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_CHARACTERS, TextUtils#CAP_MODE_WORDS TextUtils.CAP_MODE_WORDS, and TextUtils#CAP_MODE_SENTENCES TextUtils.CAP_MODE_SENTENCES, though you should generally just take a non-zero value to mean "start out in caps mode".

Java documentation for android.view.inputmethod.EditorInfo.initialCapsMode.

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