Compartir a través de


TextView.SetAllCaps(Boolean) Method

Definition

Sets the properties of this field to transform input to ALL CAPS display.

[Android.Runtime.Register("setAllCaps", "(Z)V", "GetSetAllCaps_ZHandler")]
public virtual void SetAllCaps (bool allCaps);
[<Android.Runtime.Register("setAllCaps", "(Z)V", "GetSetAllCaps_ZHandler")>]
abstract member SetAllCaps : bool -> unit
override this.SetAllCaps : bool -> unit

Parameters

allCaps
Boolean
Attributes

Remarks

Sets the properties of this field to transform input to ALL CAPS display. This may use a "small caps" formatting if available. This setting will be ignored if this field is editable or selectable.

This call replaces the current transformation method. Disabling this will not necessarily restore the previous behavior from before this was enabled.

Java documentation for android.widget.TextView.setAllCaps(boolean).

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

See also