Class GridLayout
Namespace: Casewhere.Models.Pages.Layouts.Grid
Assembly: Casewhere.Models.dll
Represents a grid layout for a page. Grid Layout is a place where Widgets are organized using a grid of cells with the numbers of columns and rows are configurable. A cell can contain more than one widget. We can merge cells together or split them out. The grid layout is best suitable for displaying dashboards.
public class GridLayout : Layout
Inheritance
object ← Layout ← GridLayout
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<GridLayout>(GridLayout)
Constructors
GridLayout()
public GridLayout()
Properties
Cells
Gets or sets the list of cells in the grid.
public IList<GridCell> Cells { get; set; }
Property Value
Columns
Gets or sets the number of columns in the grid.
public short Columns { get; set; }
Property Value
IsFitScreen
Gets or sets a value indicating whether the grid layout should fit the screen.
public bool IsFitScreen { get; set; }
Property Value
Rows
Gets or sets the number of rows in the grid.
public short Rows { get; set; }
Property Value
TargetScreenWidth
Gets or sets the target screen width for the grid layout.
public string TargetScreenWidth { get; set; }