QuarterWidthAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Marks the form field with the "col-lg-3 col-sm-6" CSS class, which makes it allocate half of the form row on device widths >= 768px (e.g. iPad), and a 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
- class FormWidthAttribute
- Source: QuarterWidthAttribute.cs