.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
740 B

<UserControl x:Class="BamlTest.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:bamltest="clr-namespace:BamlTest">
<FrameworkElement.Resources>
<ResourceDictionary>
<Style x:Key="baseStyle" TargetType="{x:Type Control}" />
</ResourceDictionary>
</FrameworkElement.Resources>
<Grid>
<FrameworkElement.ContextMenu>
<ContextMenu>
<FrameworkElement.Resources>
<ResourceDictionary>
<Style x:Key="{x:Type Control}" BasedOn="{StaticResource baseStyle}" TargetType="{x:Type Control}" />
</ResourceDictionary>
</FrameworkElement.Resources>
</ContextMenu>
</FrameworkElement.ContextMenu>
</Grid>
</UserControl>