Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: Checkboxes not checked when setting SelectedValue using MVVM [20203]

$
0
0
I wanted to use a "All" item in the list.
When selecting my item "All", I set the SelectedValue property to every possible value ...

```
private string _selected;
public string Selected
{
get { return _selected; }
set
{
if (value.Contains(Constants.CRITERIA_ALL))
{
var cs = string.Join(",", MyArrayOfValues);
Set(() => Selected, ref _selected, cs);
return;
}

Set(() => Selected, ref _selected, value);
}
}
```

The checkboxes are not checked ...
Comments: ** Comment from web user: shajahan **

can i check all when i click select all item ..wpf checkcombobox ............


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>