C
C#9mo ago
FaNim

❔ [WPF] Changing TextBlock text like renaming files in windows eplorer

Hello iam looking for how to implement renaming my ui elements that have textblock in grid same way as explorer doing this. I am using MVVM and i already have context menu implementation for that but i want to have option when i click to rename it will trigger command in my viewmodel that will trigger that renaming funcionality but i have no idea how to deal with edtiting that text and with losing focus, pressing enter to accept that rename etc etc
1 Reply
Accord
Accord9mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.