I'm trying to use a XamComboEditor along with AllowMultipleSelection="True" and CheckBoxVisibility="Visible", but the choices always open/appear above the control. How do i make it behave like every other combobox and open below the control? Also, why are the items i can select from checkboxes not lined up as in the WPF Sample Browser? Lastly, why does the arrows in the vertical scroll bar not work in the selected items? I can only scroll by dragging down. Here's my XAML:
<ig:XamComboEditor ItemsSource="{Binding SubClasses}" EmptyText="" SelectedItem="{Binding SelectedSubClass}" DisplayMemberPath="SubClassDescription" IsEditable="False" AllowMultipleSelection="True" CheckBoxVisibility="Visible" > <i:Interaction.Behaviors> <b:XamComboEditorSelectedItemsBehavior SelectedItems="{Binding SelectedSubClasses}"/> </i:Interaction.Behaviors> </ig:XamComboEditor>
Hello Travis,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
Thanks Stefan. I see now my project had some implicit styles that were affecting the checkboxes etc. However, using my original project and your sample, it seems the XamComboEditor will always open upward if the control is located on the bottom half of the screen, and open downward if it is on the top half of the screen. How do i get it to always open downward, the normal behavior of regular comboboxes? I don't want all my comboboxes opening down, and then this one opening up sometimes, sometimes down etc. To be clear, drag your sample project window to the top of your screen and click it, it will open down. Then drag it to the bottom half of your screen, it will then open upward.