Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Adaptive Layout



The DevExpress ASP.NET MVC Image Gallery (ImageGallery) extension allows creating adaptive layouts so that its content looks consistent across all devices. This functionality uses breakpoints at which the image gallery 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 Image Gallery adjusts its content to different widths. The Image Gallery items change their position and size at each breakpoint.

The ImageGallery stores breakpoints (ImageGalleryBreakpoint 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.