wpf-devexpress-dot-xpf-dot-editors-dot-comboboxedit-5f909ed5.md
Gets or sets whether to display custom items. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool? ShowCustomItems { get; set; }
Public Property ShowCustomItems As Boolean?
| Type | Description |
|---|---|
| Nullable<Boolean> |
true, to display custom items; otherwise, false.
|
The ShowCustomItems property specifies whether to display the (None) item. If a user has selected (None), the combobox editor clears its value (EditValue). The bound data field is set to a null reference.
Note
The ComboBoxEdit displays the (None) item if the bound data field supports null values and the AllowCollectionView property is set to false.
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.
reporting-wpf-custom-editor-for-report-parameter/CS/CustomParameterEditorsWPF/MainWindow.xaml#L17
<dxpp:ParameterLineLayout>
<dxe:ComboBoxEdit Grid.Column="1" MinWidth="70" ShowCustomItems="True"
IncrementalFiltering="False" AutoComplete="True" ImmediatePopup="True"
See Also