Language

Orientation Enum

Definition

Specifies the general layout of items within a composite control.

public enum class Orientation
public enum Orientation
type Orientation = 
Public Enum Orientation
Inheritance
Orientation

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


        

Applies to