Ejemplo n.º 1
0
 /// <summary>
 /// Gets a string of Bootstrap classes for various breakpoints that lays out the fields of this view
 /// in the optimal number of columns at each breakpoint, taking into account the specified maximum number of columns
 /// to lay out fields in and the preferred width of the fields.
 /// </summary>
 /// <param name="maxCol">The specified maximum number of columns to lay out fields.</param>
 /// <param name="fldWidth">The preferred width of the fields.</param>
 /// <returns>A string of Bootstrap classes for various breakpoints for the view's field columns.</returns>
 protected string GetRowCol(int maxCol, int fldWidth) => selfWidths?.GetCols(maxCol, fldWidth)?.ToRowColsClass();