1.资源加载
XML
<controls:ProWindow.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</controls:ProWindow.Resources>
2.样式查看
3.样式使用
XML
<Button Grid.Row="0" Style="{DynamicResource Esri_SimpleButton}" Content="扫描注册表" Click="Button_Click_1" Margin="0"/>