question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multi-select combo box with check marks

See original GitHub issue

Is your feature request related to a problem? Please describe. I currently used an open source fork of extended wpf toolkit because of their CheckComboBox component. Is there any way to replace it with something from MahApps?

Describe the solution you’d like A simple and reliable way to replace this:

<xctk:CheckComboBox
ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Page}}, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Path=DataContext.Tags}"
      d:DataContext="{d:DesignInstance entities:EventEntity}"
      DisplayMemberPath="Name"
      ItemSelectionChanged="Selector_OnItemSelectionChanged"
      SelectedItemsOverride="{Binding SelectedTags, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
      Foreground="{DynamicResource MahApps.Brushes.Text}" />

Additional context This is a member of a custom datagrid column. I need it to be able to bind and immidiately update all items that are selected with checkmarks. (this is used in edit item scenario where list sends edited object to editor and page just binds everything to this object, so any items that were previously selected have to be updated)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
timuniecommented, Jun 22, 2020

I have also a need for such a control. At the moment I use my own control which does all I need. I don’t know if such a control is a good control in terms of UI / UX. Below is a preview of the current implementation:

DemoAppExample

Example of a MultiSelectionComboBox

Features at the Moment:

  • different DataTemplates for Items and SelectedItems
  • different SelectionModes
  • DataTemplate for overlay if the Text is userdefined
  • Editable mode like a normal ComboBox

@punker76 if you want to implement this control, I can make a PR here.

Happy coding Tim

2reactions
timuniecommented, Dec 15, 2020

@Luk164 please give me your ideas / feedback to #4006 .

Thank you and Happy coding Tim

Read more comments on GitHub >

github_iconTop Results From Across the Web

Combo Box: Multi Select with check boxes
Is there any version of polymer combo box which supports multiple selection with checkboxes? I have started working on it but wanted to...
Read more >
javascript - Dropdown Multiselect Check Mark Toggle
How can I change it to a toggle function where I can add check mark to each of the option I selected instead,...
Read more >
Multiselect Dropdown List With Checkboxes - multiselect.js
1. Include the stylesheet 'multiselect.css' in the head section of the webpage. ... 2. Create a normal 'multiple' select element on the webpage....
Read more >
Insert a multiple-selection list box
A multiple-selection list box is list of choices that looks like a scrollable list of check boxes instead of a typical list box....
Read more >
Multi Select Combo Box Having Check Boxes
Each value of combo box should have a check box. And, the options for which check boxes are checked should be stored as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found