Collapse Node

When a Xaml node has a closing tag and no children (eg: <MyNode> </MyNode>), this refactoring allows the developer to remove the closing tag to make the node self-closing. For example, when applied to the node <MyNode> ... </MyNode>, the closing tag </MyNode> is removed and the element becomes self closing like so: <MyNode/>.

Expand Node

When a Xaml node is self-closing (EG <MyNode/>), this organise refactoring allows a developer to generate a closing tag for the node. For example, the node <MyNode/> would become <MyNode> ... </MyNode> after applying this refactoring.