Skip to main content
.NET Framework 4.6.2+

CaptionsForBoolValuesAttribute(String, String) Constructor

Initializes a new instance of the CaptionsForBoolValuesAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public CaptionsForBoolValuesAttribute(
    string captionForTrue,
    string captionForFalse
)

Parameters

Name Type Description
captionForTrue String

A string specifying the caption displayed for the property’s true value. This parameter’s value is assigned to the CaptionsForBoolValuesAttribute.CaptionForTrue property.

captionForFalse String

A string specifying the caption displayed for the property’s false value. This parameter’s value is assigned to the CaptionsForBoolValuesAttribute.CaptionForFalse property.

See Also