Back to Devexpress

NavigationPane.ItemOrientation Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpane-8e2e337f.md

latest2.2 KB
Original Source

NavigationPane.ItemOrientation Property

Gets or sets page header orientation for all NavigationPages that belong to this NavigationPane.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(Orientation.Horizontal)]
[DXCategory("Appearance")]
public Orientation ItemOrientation { get; set; }
vb
<DefaultValue(Orientation.Horizontal)>
<DXCategory("Appearance")>
Public Property ItemOrientation As Orientation

Property Value

TypeDefaultDescription
OrientationHorizontal

A Orientation enumerator value that specifies the page header orientation.

|

Remarks

When the ItemOrientation property is set to Orientation.Vertical , page headers rotate 90 degrees clockwise, becoming aligned in a single row, one below the other. Page header content (both caption and glyph) is also rotated. The following figure illustrates a Navigation Pane with the ItemOrientation property set to Orientation.Horizontal (default value) and the same pane with vertically aligned headers in different Dock modes.

See Also

NavigationPane Class

NavigationPane Members

DevExpress.XtraBars.Navigation Namespace