|
|
Seems like that functionality wasn't even implemented. Should be fixed with r12933.
Though, it's currently only removing the Name and unregistering the element from NameScope.
What it should also do is remove the name occurrence from all parts of the XAML code (like if animation, trigger, even a property binding, etc... is targeting the object).
I'd put this functionality in a reusable part of code (such as a separate XamlUndoRedoCommand) so it can also be used when, for example, removing an element (within RemoveElementCommand) and in similar situations. |