Skip to content

FormWidthAttribute constructor (1 of 2)

Creates a FormWidth attribute with no initial column classes. Make sure to set properties to make it useful.

public FormWidthAttribute()

See Also


FormWidthAttribute constructor (2 of 2)

Creates a FormWidth attribute with given custom css class, like col-md-6 col-sm-4 etc.

public FormWidthAttribute(string? cssClass)
parameter description
cssClass The CSS class to apply to the field, e.g. col-md-6.

See Also