語言

TextView.SetHorizontallyScrolling(Boolean) 方法

定義

設定是否應該允許文字比檢視寬。

[Android.Runtime.Register("setHorizontallyScrolling", "(Z)V", "GetSetHorizontallyScrolling_ZHandler")]
public virtual void SetHorizontallyScrolling(bool whether);
[<Android.Runtime.Register("setHorizontallyScrolling", "(Z)V", "GetSetHorizontallyScrolling_ZHandler")>]
abstract member SetHorizontallyScrolling : bool -> unit
override this.SetHorizontallyScrolling : bool -> unit

參數

whether
Boolean

boolean

屬性

備註

設定是否應該允許文字比檢視寬。 若為假,則會被包裹成視圖寬度。

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

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

適用於