Skip to main content
.NET 6.0+

CaptionsForBoolValuesAttribute(String, String) Constructor

Initializes a new instance of the CaptionsForBoolValuesAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v23.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