System.Windows.Forms.ScrollableControl.HScroll Property

Gets or sets a value indicating whether the horizontal scroll bar is visible.

Syntax

protected bool HScroll { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The functionality of the ScrollableControl.HScroll property can also be accomplished through calls to the ScrollableControl.GetScrollState(int) and ScrollableControl.SetScrollState(int, bool) methods using ScrollableControl.ScrollStateHScrollVisible as the parameter.

Note    ScrollableControl.AutoScroll maintains the visibility of the scrollbars automatically. Therefore, setting the ScrollableControl.HScroll or ScrollableControl.VScroll properties to true have no effect when ScrollableControl.AutoScroll is enabled.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0