System.Windows.Forms.Orientation Enumeration

Specifies the orientation of controls or elements of controls.

Syntax

public enum Orientation

Remarks

This enumeration is used by members such as TrackBar.Orientation.

Members

Member NameDescription
Horizontal

The control or element is oriented horizontally.

Vertical

The control or element is oriented vertically.

Requirements

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