PepeGak
✅ How to handle commands in TreeView?
Hi. I've tried the next thing:
I created an
ObservableCollection
(let's call it OC
) of TreeItemViewModel
(TIVM
) and inside the TIVM
class there is OC<SubjectModel>
of actual Subjects and string SubjectType {get;set;}
38 replies
✅ How to handle commands in TreeView?
What is the propriate way to write a command for that? So when I click on a button (or any other thing that supports command implementation), object from that collection is taken and shown on the window (somewhere on
Grid.Column="1"
)38 replies