NumberFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Number"
[AttributeUsage(AttributeTargets.All)]
public class NumberFormatterAttribute : CustomFormatterAttribute
Public Members
| name | description |
|---|---|
| NumberFormatterAttribute() | Initializes a new instance of the NumberFormatterAttribute class. |
| DisplayFormat { get; set; } | Gets or sets the display format. |
| const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs