Skip to main content

Adaptivity

DevExpress MVC Card View extension allows you to create adaptive layouts so that the extension’s content looks consistent across all devices. This functionality uses breakpoints at which the card view shifts, resizes, or moves its cards 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.

The CardView stores breakpoints (CardViewBreakpoint class instances) in its Breakpoints collection. Breakpoints define the number of cards in a row (CardsPerRow) and maximum width (MaxWidth) specifications for different screen sizes specified by the DeviceSize property.

Run Demo: Adaptive Layout Run Demo: Text Truncation with Ellipsis