TrackBar.Orientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the horizontal or vertical orientation of the track bar.
public:
property System::Windows::Forms::Orientation Orientation { System::Windows::Forms::Orientation get(); void set(System::Windows::Forms::Orientation value); };
public System.Windows.Forms.Orientation Orientation { get; set; }
member this.Orientation : System.Windows.Forms.Orientation with get, set
Public Property Orientation As Orientation
Property Value
One of the Orientation values.
Exceptions
The assigned value is not one of the Orientation values.
Remarks
When the Orientation property is set to the System.Windows.Forms.Orientation.Horizontal
, the scroll box moves from left to right as the Value increases. When the Orientation property is set to System.Windows.Forms.Orientation.Vertical,
the scroll box moves from bottom to top as the Value increases.