語言

TextView.SetAllCaps(Boolean) 方法

定義

設定此欄位的屬性,將輸入轉換成 ALL CAPS 顯示。

[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

參數

allCaps
Boolean

boolean

屬性

備註

設定此欄位的屬性,將輸入轉換成 ALL CAPS 顯示。 若有「小寫」格式,可能會使用。 若此欄位可編輯或選擇,此設定將被忽略。

此呼叫取代了電流轉換方法。 停用這個功能不一定會恢復啟用前的行為。

Java 文件 android.widget.TextView.setAllCaps(boolean)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱