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>
Here's the MS combo. Same binding source etc, same window position, the combo is in the same row right next to the IG one and it opens down.
Stefan-
Here is a screenshot that shows my IG box clearly opening upward, while the MS combobox right next to it opens downward. They are bound to the exact same list etc. Does it matter that this is the "Shared XAML" XamComboEdiotr (I need the multi select capability)?
Hello Travis,
The XamComboEditor mimics the MS ComboBox behavior, which opens the same way. If you want you can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
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.
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.