I am working with a ComboBoxEdit
from DevExpress
.
I have come across this post, where i need the same behavior for my ComboBoxEdit
. I need the user to be able to type a value in the ComboBoxEdit
, even though the value is not in the list of bound objects.
This is what i have so far:
<dxe:ComboBoxEdit Name="someName"
Height="Auto"
Width="Auto"
ImmediatePopup="True"
AutoComplete="True"
IncrementalFiltering="True"
IsEnabled="True"
Visibility="Visible"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
IsTextEditable="True"
VerticalContentAlignment="Stretch"
HorizontalContentAlignment="Right"
Mask="###,###,###,##0.00;###,###,###,##0.00-"
MaskType="Numeric"
DisplayFormatString="###,###,###,##0.00;###,###,###,##0.00-"
MaskUseAsDisplayFormat="True"
ItemsSource="{Binding Path=SomeItemsSource}"
DisplayMember="{Binding Path=SomeDisplayMember}"
ValueMember="{Binding Path=SomeValueMember}"
EditValue="{Binding Path=SomeEditValue}">
<dxe:ComboBoxEdit.StyleSettings>
<dxe:ComboBoxStyleSettings />
</dxe:ComboBoxEdit.StyleSettings>
Everything works fine, but i cant type in a value that is not in the list.
How can i get the same behavior as in the mentioned post for my ComboBoxEdit
?