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