Skip to main content
A newer version of this page is available. .

CaptionsForBoolValuesAttribute(String, String) Constructor

Initializes a new instance of the CaptionsForBoolValuesAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

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