FormatterOptionAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Adds a formatter option
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
public class FormatterOptionAttribute : Attribute
Public Members
| name | description |
|---|---|
| FormatterOptionAttribute(…) | Initializes a new instance of the FormatterOptionAttribute class. |
| Key { get; } | Gets the option key. |
| Value { get; } | Gets the option value. |
See Also
- Source: FormatterOptionAttribute.cs