System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState Enumeration

Specifies the visual state of a scroll bar sizing handle that is drawn with visual styles.

Syntax

public enum ScrollBarSizeBoxState

Remarks

The System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState values correspond to the states of the System.Windows.Forms.VisualStyles.VisualStyleElement objects exposed by the System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.SizeBox class. The System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState values are also used as an argument in the System.Windows.Forms.ScrollBarRenderer.DrawSizeBox(System.Drawing.Graphics, System.Drawing.Rectangle, ScrollBarSizeBoxState) method.

Members

Member NameDescription
LeftAlign

The sizing handle is aligned to the left.

RightAlign

The sizing handle is aligned to the right.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0