FormCssClassAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets the CSS class for the field on forms only.
[AttributeUsage(AttributeTargets.All)]
public class FormCssClassAttribute : Attribute
| parameter | description |
|---|---|
| cssClass | The CSS class. |
Public Members
| name | description |
|---|---|
| FormCssClassAttribute(…) | Sets the CSS class for the field on forms only. |
| UntilNext { get; set; } | Applies this form CSS class to all following fields until another FormCssClass attribute. |
| Value { get; } | Gets the value. |
Remarks
Initializes a new instance of the FormCssClassAttribute class.
See Also
- Source: FormCssClassAttribute.cs