Browse Source

add x:Type test

pull/2536/head
wwh1004 4 years ago
parent
commit
aa7f3f5510
  1. 3
      ILSpy.BamlDecompiler.Tests/Cases/Issue2116.xaml

3
ILSpy.BamlDecompiler.Tests/Cases/Issue2116.xaml

@ -2,11 +2,14 @@ @@ -2,11 +2,14 @@
<FrameworkElement.Resources>
<ResourceDictionary>
<Style x:Key="TestStyle1" />
<Style x:Key="TestStyle2" BasedOn="{StaticResource TestStyle1}" />
<Style x:Key="TestStyle2" BasedOn="{StaticResource {x:Type local:Issue2116}}" />
<Style x:Key="TestStyle2" BasedOn="{StaticResource {x:Static local:Issue2116.StyleKey1}}" />
</ResourceDictionary>
</FrameworkElement.Resources>
<Grid>
<Grid Style="{StaticResource TestStyle1}" />
<Grid Style="{StaticResource {x:Type local:Issue2116}}" />
<Grid Style="{StaticResource {x:Static local:Issue2116.StyleKey1}}" />
</Grid>
</UserControl>

Loading…
Cancel
Save