WebBrowser.ScrollBarsEnabled 屬性

定義

取得或設定值,表示是否要在 WebBrowser 控制項中顯示捲軸。

public:
 property bool ScrollBarsEnabled { bool get(); void set(bool value); };
public bool ScrollBarsEnabled { get; set; }
member this.ScrollBarsEnabled : bool with get, set
Public Property ScrollBarsEnabled As Boolean

屬性值

Boolean

如果要在控制項中顯示捲軸,則為 true;否則為 false。 預設值是 true。

備註

如果此屬性的值是 true ,則只有在頁面內容大於瀏覽器視窗時,才會顯示捲軸。

適用於