Skip to main content
A newer version of this page is available. .

NavBarViewBase.ItemsPanelOrientation Property

Gets or sets the orientation of items within groups. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v18.2.dll

Declaration

public Orientation ItemsPanelOrientation { get; set; }

Property Value

Type Description
Orientation

One of the Orientation enumeration values.

Remarks

Groups use specific container panels to arrange their items. Use the ItemsPanelOrientation property to control the manner in which items are stacked within these panels. By default, items are oriented vertically. Note that you can define a custom container panel by using the NavBarViewBase.ItemsPanelTemplate property.

To learn more, see the View Layout Customization topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemsPanelOrientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also