Skip to main content

Boolean Properties

  • 2 minutes to read

In XAF, the following controls can display Boolean and Nullable Boolean properties:

Refer to the following topics for more ORM-specific information on Boolean properties:

ASP.NET Core Blazor

In ASP.NET Core Blazor, BlazorPropertyEditorBase.ComponentModel returns an IComponentModel descendant that wraps properties and events of a corresponding ASP.NET Core Blazor Editor.

XAF Boolean Property ASP.NET Core Blazor, DevExpress

XAF Boolean Property With Captions ASP.NET Core Blazor, DevExpress

XAF Boolean Property With Images ASP.NET Core Blazor, DevExpress

The following table shows available Component Models for BooleanPropertyEditor:

IComponentContentHolder descendant

Component

Description

DevExpress.ExpressApp.Blazor.Components.Models.DxCheckBoxModel<T>

DxCheckBox<T>

The default control.

DevExpress.ExpressApp.Blazor.Components.Models.DxComboBoxModel<TData, TValue>

DxComboBox<TData, TValue>

This component is used when one of the following property pairs is specified:

WinForms

Each Windows Forms Property Editor is available in two forms:

  • A standalone control (displays property value in a Detail View)
  • A repository item (displays property value in a List Editor that supports in-place editing)

XAF Boolean Properties WinForms

The following table shows available controls and repository items for BooleanPropertyEditor:

Control

Repository item

Description

BooleanEdit (a CheckEdit descendant).

RepositoryItemBooleanEdit (a RepositoryItemCheckEdit descendant).

A CheckEdit control (default).

BoolComboBoxEdit (an ImageComboBoxEdit descendant).

RepositoryItemBoolComboBoxEdit (a RepositoryItemImageComboBox descendant).

A drop-down control with custom text. An optional image is displayed next to the text when one of the following property pairs is specified:

See Also