Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.Components.PropertyList.PropertyListSetup.ColumnStyles Property

For Boxed and BoxedWithCategories styles, Masonry (https://masonry.desandro.com/) is used to support a packed layout of categories.

Class: YetaWF.Modules.ComponentsHTML.Components.PropertyList.PropertyListSetup
Namespace: YetaWF.Modules.ComponentsHTML.Components
Assembly: YetaWF.ComponentsHTML

Syntax

public List<PropertyListColumnDef> ColumnStyles { get; set; }

Remarks

This collection defines the number of columns depending on windows size. By providing a list of break points, Masonry can be called to recalculate the box layout, when switching between window widths which affects the number of columns.

The first entry defines the minimum width of the window to use Masonry. Below this size, Masonry is not used.

See Also YetaWF.Modules.ComponentsHTML.Components.PropertyList.PropertyListSetup ClassYetaWF.ComponentsHTML PackageYetaWF.Core