ComboBoxEdit.ShowCustomItems Property

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool? ShowCustomItems { get; set; }
Public Property ShowCustomItems As Boolean?

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.

See Also