HalfWidthAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Marks form field with "col-sm-6" css class, which makes it allocate half of form row on device widths >= 768px (e.g. iPad)

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

Public Members

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

See Also