The requested page is not available for the requested platform. You are viewing the content for Default platform.

Remove Potentially Redundant Assignment

Removes the XAML attribute if it is initialized to the default value.

Availability

Available from the context menu or via shortcuts:

  • when the cursor is anywhere in an XAML attribute initialized to the default value.

Example

<StackPanel Orientation="Vertical" Grid.Row="1">
. . .
</StackPanel>

Result:

<StackPanel Grid.Row="1">
. . .
</StackPanel>
See Also