BooleanFormatterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.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