System.Web.UI.WebControls.Menu.Orientation Property

Gets or sets the direction in which to render the System.Web.UI.WebControls.Menu control.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.Orientation.Vertical)]
public Orientation Orientation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Menu.Orientation property to specify the direction in which to render the System.Web.UI.WebControls.Menu control. The following table lists the available directions.

Orientation.Horizontal

The System.Web.UI.WebControls.Menu control is rendered horizontally.

Orientation.Vertical

The System.Web.UI.WebControls.Menu control is rendered vertically.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0