CheckboxFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Checkbox"
[AttributeUsage(AttributeTargets.All)]
public class CheckboxFormatterAttribute : CustomFormatterAttribute
Public Members
| name | description |
|---|---|
| CheckboxFormatterAttribute() | Initializes a new instance of the CheckboxFormatterAttribute class. |
| FalseIcon { get; set; } | Gets or sets the icon corresponding to falsy value. |
| FalseText { get; set; } | Gets or sets the text corresponding to falsy value. |
| NullIcon { get; set; } | Gets or sets the icon corresponding to nullish value. |
| ShowHint { get; set; } | Gets or sets a value indicating whether to show hint (text) on hover when text is not displayed next to checkbox icon. When displayed in header filter, defaults to false, otherwise defaults to true when showText is false and any of the texts are provided. |
| ShowText { get; set; } | Gets or sets a value indicating whether to show text next to checkbox icon. When displayed in header filter, defaults to true, otherwise defaults to false. |
| TrueIcon { get; set; } | Gets or sets the icon corresponding to truthy value. |
| TrueText { get; set; } | Gets or sets the text corresponding to truthy value. |
| const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: CheckboxFormatterAttribute.cs