Skip to main content

ComboBoxEdit.ShowCustomItems Property

Gets or sets whether to display custom items. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool? ShowCustomItems { get; set; }

Property Value

Type Description
Nullable<Boolean>

true, to display custom items; otherwise, false.

Remarks

The ShowCustomItems property specifies whether the (None) item is displayed. If an end-user has selected this item, the combobox editor clears its BaseEdit.EditValue and BaseEdit.DisplayText properties. The bound data field is set to a null reference.

Note

To support the (None) item, an underlying data field should support null values.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowCustomItems property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also