Hi I have control that has RadComboBox in it, I created:
Public Shared ItemsSourceProperty As DependencyProperty for that control And To populate that ItemsSource I do this:
ItemsSource="{Binding List, Source={StaticResource dpClientColor}}"
Now My Problem is that I want based on some values that are in Item(i) like IsActive to be able to change visibility of Item, not to show up at all, I have tried to remove Item ItemsSource.Remove(ItemsSource.Item(i)) but it say's that This can't be done because it's ReadOnly.
I Tried to do this with Style, then with DataTemplate, every time I got visibility of en Item to bi Collapsed but I could see empty spot in List!
Public Shared ItemsSourceProperty As DependencyProperty for that control And To populate that ItemsSource I do this:
ItemsSource="{Binding List, Source={StaticResource dpClientColor}}"
Now My Problem is that I want based on some values that are in Item(i) like IsActive to be able to change visibility of Item, not to show up at all, I have tried to remove Item ItemsSource.Remove(ItemsSource.Item(i)) but it say's that This can't be done because it's ReadOnly.
I Tried to do this with Style, then with DataTemplate, every time I got visibility of en Item to bi Collapsed but I could see empty spot in List!