BooleanFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Boolean"
[AttributeUsage(AttributeTargets.All)]
public class BooleanFormatterAttribute : CustomFormatterAttribute
Public Members
name | description |
---|---|
BooleanFormatterAttribute() | Initializes a new instance of the BooleanFormatterAttribute class. |
FalseText { get; set; } | Gets or sets the text corresponding to falsy value. |
TrueText { get; set; } | Gets or sets the text corresponding to truthy value. |
const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs