class.
To this viewModel class add a new string property SpinOrElement
We could also simply add that property to your class if it is OK.
Public string SpinOrElement {
get=> checkBoxValueProperty ? "Spin On" : "Element";
}
Now bind your data gird to that list of ViewModel or to your class
Can we use value converter instead view model?
Thank you I have been solved the problem
Обсуждают сегодня