Comments (2)
It works correctly here. How did you attach the event to the Grid?
I did a simple
<sdl:MultiSelectComboBox Name="XXX" SelectedItemsChanged="OnSelectedItemsChanged" />
Code behind:
private void OnSelectedItemsChanged(object sender, SelectedItemsChangedEventArgs e) { MessageBox.Show(XXX.SelectedItems.ToString()); }
It seems to work fine.
from multiselect-combobox.
Hi @Vya4ik003
You should subscribe to event behaviour SelectedItemsChangedBehaviour.SelectedItemsChanged that allows you to bind that event to an ICommand in your view model, to identify when something changes.
Please make reference to the documentation or example project for reference:
Example:
sdl:SelectedItemsChangedBehaviour.SelectedItemsChanged="{Binding SelectedItemsChangedCommand}"
from multiselect-combobox.
Related Issues (20)
- Argument null Exception HOT 2
- How to bind sdl / Multiselect-ComboBox in simple WPF - MVVM HOT 1
- Two binding mode is not working for SelectedItems HOT 2
- Component not initialized if datacontext set before HOT 1
- UpdateAutoCompleteFilterText uses ToString of the item HOT 1
- Dropdown button icon not showing up HOT 1
- Clicking outside the control with the dropdown open force takes focus back HOT 1
- You cannot enter edit mode if no item has ever been selected in that box before HOT 1
- When IsEditable and EnableFiltering are false the TextBox's caret and MultiSelectComboBox.SelectedItemsPanel.Readonly.Glyph.Template are visible HOT 1
- Restore .NET 4.7 compatibility? HOT 1
- Selecting all items results in a NullReferenceException HOT 1
- Target netcoreapp6
- Extending this to a Datagrid HOT 2
- .net6+Win10 comptiable HOT 3
- Can InputMethod be disabled? HOT 2
- Add a SelectedItem Property HOT 1
- Wrong bindings of SelectedItems HOT 1
- Ability to customize item container HOT 3
- Suggestion of Add a comparer HOT 5
- Alt+Up / Alt+Down for accessibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multiselect-combobox.