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

Adaptive Layout

The DevExpress ASP.NET Data View (ASPxDataView) control allows creating adaptive layouts so that the content looks consistent across all devices. This functionality uses breakpoints at which the control shifts, resizes, or moves its items to a new line. It allows you to create, for example, a two-column layout for narrow screens or a three-column layout for wider screens.

In this demo, resize the browser width to see how the Data View adjusts its content to different widths. The Data View items change their position and size at each breakpoint.

The ASPxDataView stores breakpoints (DataViewBreakpoint class instances) in its Breakpoints collection. Breakpoints define the number of items in a row (ItemsPerRow) and maximum width (MaxWidth) specifications for different screen sizes specified by the DeviceSize property.

Collapse/Expand
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\ASPxImageAndDataNavigationDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxImageAndDataNavigationDemos