EnumSelectFormatterAttribute class
namespace: Serenity.Extensions assembly: Serenity.Extensions
An attribute that sets the formatter type to Serenity.Extensions.EnumSelectFormatter and its options.
[AttributeUsage(AttributeTargets.All)]
public class EnumSelectFormatterAttribute : CustomFormatterAttribute
Public Members
| name | description |
|---|---|
| EnumSelectFormatterAttribute() | Creates a new instance of the EnumSelectFormatterAttribute class. |
| AllowClear { get; set; } | Gets or sets the allowClear option. |
| EmptyItemText { get; set; } | Gets or sets the emptyItemText option. |
| EnumKey { get; set; } | Gets or sets the enumKey option. |
| const Key | The formatter type key. |