Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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