Are there any automated tools that will parse through XAML code and clean out values that are explicitly declared to their defaults?
Example:
<Grid Margin="0,0,0,0" Height="Auto" Width="Auto">
I would expect to be reduced to:
<Grid>
Are there any automated tools that will parse through XAML code and clean out values that are explicitly declared to their defaults?
Example:
<Grid Margin="0,0,0,0" Height="Auto" Width="Auto">
I would expect to be reduced to:
<Grid>
XAML Power Toys has a utility to remove designer generated XAML. It is not specifically for items that are set to their default values, but it is close to what you are lookig for.