Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

Commit 2937ed4

Browse files
code formatting
1 parent f55c736 commit 2937ed4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

StylesAndResources/StylesAndResourcesWPF/StylesAndResourcesWPF/ResourceDemoWindow.xaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@
1616
</LinearGradientBrush>
1717
</StackPanel.Resources>
1818
<Button Width="200" Height="50" Foreground="White" Margin="5"
19-
Background="{StaticResource MyGradientBrush}" Content="Click Me!" />
19+
Background="{StaticResource MyGradientBrush}" Content="Click Me!" />
2020

2121
<Button Name="button1" Width="220" Height="50" Margin="5"
2222
Click="OnApplyResources" Content="Apply Resource Programmatically" />
2323

2424
<Button Name="button2" Width="200" Height="50" Foreground="White" Margin="5"
25-
Background="{DynamicResource MyGradientBrush}" Content="Change Resource"
26-
Click="OnChangeDynamicResource" />
25+
Background="{DynamicResource MyGradientBrush}" Content="Change Resource"
26+
Click="OnChangeDynamicResource" />
2727

2828
<Button Width="300" Height="50" Style="{StaticResource PinkButtonStyle}"
29-
Content="Referenced Resource" />
30-
31-
29+
Content="Referenced Resource" />
3230
</StackPanel>
3331

3432
</Grid>

0 commit comments

Comments
 (0)