.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CaptionsForBoolValuesAttribute Constructors

Applied to Boolean business class properties. Specifies captions used to display the target property's values.

Name Parameters Description
CaptionsForBoolValuesAttribute(String, String) captionForTrue, captionForFalse

Initializes a new instance of the CaptionsForBoolValuesAttribute class.

See Also