Skip to content

HalfWidthAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Marks the form field with the "col-sm-6" CSS class, which makes it allocate half of the 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