Removes a tag pair while preserving the content within the tags.
This refactoring automates the common task of deleting a tag. Regardless of where you have initiated it, Remove Tag will automatically find the corresponding opening and closing tags, and deletes them.
If the code provider is applied within a XAML document to a tag containing one of the following properties, these properties are moved to a child tag.
<div><img src="D:\Image1.jpg" id="img1" style="width: 100px;" /></div>
<img src="D:\Image1.jpg" id="img1" style="width: 100px;" />
This code provider is the opposite of Surround with Tag.