Reputation: 24572
My code currently looks like this:
<Grid Style="{StaticResource HG}" >
<Grid.Resources>
<Style TargetType="Label">
<Setter Property="TextColor" Value="{DynamicResource HelpTextColor}" />
<Setter Property="Style" Value="{StaticResource HD}" />
</Style>
</Grid.Resources>
and I have this used in a Grid like this:
<Grid Style="{StaticResource HG}" >
<Grid.Resources>
<Style TargetType="Label">
<Setter Property="TextColor" Value="{DynamicResource HelpTextColor}" />
<Setter Property="Style" Value="{StaticResource HD}" />
</Style>
</Grid.Resources>
Is there any way that I can combine the Grid.Resources into the Style I called HG
?
Upvotes: 0
Views: 66