QuarterWidthAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Marks form field with "col-lg-3 col-sm-6" css class, which makes it allocate half of form row on device widths >= 768 (e.g. ipad), and quarter on device widths >= 1200px (desktop)

[AttributeUsage(AttributeTargets.All)]
public class QuarterWidthAttribute : FormWidthAttribute

Public Members

name description
QuarterWidthAttribute() Initializes a new instance of the QuarterWidthAttribute class.

See Also