Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
xamComboEditor hide/disable items
posted

Hello.

We use XamComboEditor with following Properties

<igEditors:XamComboEditor IsEditable="True" />

and following Style for ComboBoxItem to disable and hide items in the editor

<Style TargetType="ComboBoxItem">
<Setter Property="Visibility" Value="{Binding IsBusinessActive, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Visible}"/>
<Setter Property="IsEnabled" Value="{Binding IsBusinessActive, FallbackValue=true}" />
</Style>

 This works for the entries in the drop down selected with mouse.

But if the user enters text (autocomplete) or use the KeyUp or KeyDown on the keyboard the whole datasource is available.

Is there any solution for this issue?

Roman