Orientation Enum
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.
Specifies the general layout of items within a composite control.
public enum class Orientation
public enum Orientation
type Orientation =
Public Enum Orientation
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| Horizontal | 0 | Lays out the elements of the control in a horizontal manner. Most controls are side-by-side, with very little stacking of controls. |
| Vertical | 1 | Lays out the elements of the control in a vertical manner. Most controls are stacked, with few controls side-by-side. |
Examples
The following code example shows the results of applying different Orientation enumeration settings to the Login control.
<%@ Page Language="C#" AutoEventWireup="False"%>
ASP.NET Example
<%@ Page Language="VB" AutoEventWireup="False"%>
ASP.NET Example