共用方式為


View.HorizontalScrollBarEnabled Property

Definition

Indicate whether the horizontal scrollbar should be drawn or not. -or- Define whether the horizontal scrollbar should be drawn or not.

public virtual bool HorizontalScrollBarEnabled { [Android.Runtime.Register("isHorizontalScrollBarEnabled", "()Z", "GetIsHorizontalScrollBarEnabledHandler")] get; [Android.Runtime.Register("setHorizontalScrollBarEnabled", "(Z)V", "GetSetHorizontalScrollBarEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isHorizontalScrollBarEnabled", "()Z", "GetIsHorizontalScrollBarEnabledHandler")>]
[<set: Android.Runtime.Register("setHorizontalScrollBarEnabled", "(Z)V", "GetSetHorizontalScrollBarEnabled_ZHandler")>]
member this.HorizontalScrollBarEnabled : bool with get, set

Property Value

true if the horizontal scrollbar should be painted, false otherwise

Attributes

Remarks

Property getter documentation:

Indicate whether the horizontal scrollbar should be drawn or not. The scrollbar is not drawn by default.

Java documentation for android.view.View.isHorizontalScrollBarEnabled().

Property setter documentation:

Define whether the horizontal scrollbar should be drawn or not. The scrollbar is not drawn by default.

Java documentation for android.view.View.setHorizontalScrollBarEnabled(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