Orientation Enumeration

 

Specifies the general layout of items within a composite control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

type Orientation

Member nameDescription
Horizontal

Lays out the elements of the control in a horizontal manner. Most controls are side-by-side, with very little stacking of controls.

Vertical

Lays out the elements of the control in a vertical manner. Most controls are stacked, with few controls side-by-side.

The following code example shows the results of applying different Orientation enumeration settings to the Login control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: