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

CaptionsForBoolValuesAttribute(String, String) constructor

Initializes a new instance of the CaptionsForBoolValuesAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public CaptionsForBoolValuesAttribute(
    string captionForTrue,
    string captionForFalse
)
Public Sub New(
    captionForTrue As String,
    captionForFalse As String
)

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