Today I am going to share a simple trick to make any object selectable in User interface so that it can be bind to Treeview, checkbox list or radio button list. The trick is simple, we have to warp the user custom class with another class named “SelectableData”.
Bellow the code segment is given
Bellow the uses is given.
And the Xaml Binding Code is given bellow
Hope this helps, until next time.