ScrollableControl.HScroll 屬性
定義
取得或設定值,指出水平捲軸是否為可見的。Gets or sets a value indicating whether the horizontal scroll bar is visible.
protected:
property bool HScroll { bool get(); void set(bool value); };
protected bool HScroll { get; set; }
member this.HScroll : bool with get, set
Protected Property HScroll As Boolean
屬性值
如果水平捲軸是可見的,則為 true
,否則為 false
。true
if the horizontal scroll bar is visible; otherwise, false
.
備註
您 HScroll 也可以 GetScrollState SetScrollState 使用 ScrollStateHScrollVisible 做為參數,透過呼叫和方法來完成屬性的功能。The functionality of the HScroll property can also be accomplished through calls to the GetScrollState and SetScrollState methods using ScrollStateHScrollVisible as the parameter.
注意 AutoScroll 自動維護捲軸的可見度。Note AutoScroll maintains the visibility of the scrollbars automatically. 因此, HScroll VScroll 當啟用時,將或屬性設定為 true
不會有任何作用 AutoScroll 。Therefore, setting the HScroll or VScroll properties to true
have no effect when AutoScroll is enabled.