EnumFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Enum".
[AttributeUsage(AttributeTargets.All)]
public class EnumFormatterAttribute : CustomFormatterAttribute
Public Members
name | description |
---|---|
EnumFormatterAttribute() | Initializes a new instance of the EnumFormatterAttribute class. |
EnumKey { get; set; } | Gets or sets the enum key which is full namespace and class name of the enum or it should match the value set with [EnumKey] attribute on the enum type. |
const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs