How to inspect and extract XAML style from WPF application?

♀尐吖头ヾ 提交于 2019-12-14 03:24:45

问题


I want to extract XAML styles from WPF application specially resource dictionary like this:

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008">
....

回答1:


You're probably looking for Styles Explorer, Reflector with BAML viewer or even SnoopWPF.



来源:https://stackoverflow.com/questions/16701432/how-to-inspect-and-extract-xaml-style-from-wpf-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!