Back to Devexpress

IModelCommonMemberViewItem.ImageForTrue Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcommonmemberviewitem-665b18bb.md

latest2.1 KB
Original Source

IModelCommonMemberViewItem.ImageForTrue Property

Specifies the name of the image that is displayed for the property’s True value.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[ModelBrowsable(typeof(BooleanPropertyOnlyCalculator))]
string ImageForTrue { get; set; }
vb
<ModelBrowsable(GetType(BooleanPropertyOnlyCalculator))>
Property ImageForTrue As String

Property Value

TypeDescription
String

A string specifying the name of the image that is displayed for the property’s True value.

|

Remarks

This property is considered for Boolean type properties. The ImageForTrue 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 ImagesForBoolValuesAttribute.

See Also

ImagesForBoolValuesAttribute

IModelCommonMemberViewItem Interface

IModelCommonMemberViewItem Members

DevExpress.ExpressApp.Model Namespace