I have a code Like above Texted But My problem is When I'm selected any item Remaining Items are getting selected in checkBox but I need to select specific checkbox
Items Control Topic Related
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Amira BedhiafiRank #601 · 4K reputationPosted Mar 17, 2025, 5:38 AM EDT
Make sure that
IsSelectedis a property within theMetmastAssetAdapterclass.Your
MetmastAssetAdapterclass should implementINotifyPropertyChangedso that changes to theIsSelectedproperty notify the UI.public class MetmastAssetAdapter : INotifyPropertyChanged { private bool _isSelected; public bool IsSelected { get { return _isSelected; } set { if (_isSelected != value) { _isSelected = value; OnPropertyChanged(nameof(IsSelected)); } } } public string Name { get; set; } public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } }Instead of using a simple
List, use anObservableCollectionin your ViewModel:Then, populate it in the ViewModel:
MetMasts = new ObservableCollection { new MetmastAssetAdapter { Name = "Item 1", IsSelected = false }, new MetmastAssetAdapter { Name = "Item 2", IsSelected = false }, new MetmastAssetAdapter { Name = "Item 3", IsSelected = false } };