Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Flow Layout


In this demo a flow layout is applied to the ASPxSiteMapControl, allowing the site map data to be displayed linearly, with a specific separator. This method saves space.

In order to specify the hierarchy level of nodes which should be displayed using a flow layout, the FlowLayoutLevel property can be used. In this sample, the FlowLayoutLevel property is set to 1 which means that a flow layout is applied to the nodes located at the nesting level whose index equals 1 (these nodes are the immediate children of the top level nodes).

The number of items displayed in a linear flow can be limited using the FlowLayoutMaximumDisplayItems property. In this demo, you can change this number via the Display SubItems dropdown editor.

The item separator displayed between nodes which are rendered using a flow layout can be specified by the FlowLayoutItemSeparator property.

The FlowLayoutTextLineHeight property allows you to control the height of lines which contain the nodes rendered using a flow layout.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxNavigationAndLayoutDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxNavigationAndLayoutDemos