Skip to main content
.NET 6.0+

IModelCommonMemberViewItem.CaptionForTrue Property

Specifies the caption for the true value of the current Property Editor, if this Property Editor displays a property of the Boolean type.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ModelBrowsable(typeof(BooleanPropertyOnlyCalculator))]
string CaptionForTrue { get; set; }

Property Value

Type Description
String

A string specifying the caption for the true value of the current Property Editor, if this Property Editor displays a property of the Boolean type.

Remarks

The CaptionForTrue property is available in the Model Editor in the following nodes:

  • BOModel | <Class> | OwnMembers | Property
  • Views | <DetailView> | Items | <PropertyEditor>

  • Views | <ListView> | Columns | <BooleanColumn>

You can also specify the default value in code using the CaptionsForBoolValuesAttribute.

See Also