【发布时间】:2013-05-22 20:57:11
【问题描述】:
我想从 WPF 应用程序特别是这样的资源字典中提取 XAML 样式:
<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">
....
【问题讨论】:
-
OP,我不知道你在说什么。你能澄清你的问题吗?
-
是您的应用程序吗?有源代码吗?
-
我不明白你的问题是什么,但如果你想导入命名空间,你可以这样做:
xlmns:someName="clr-namespace:MyNamespace"。如果命名空间位于不同的程序集中,请在其末尾添加;assembly=AssemblyName。 -
@cheedep 我没有源代码。
标签: c# .net wpf xaml resourcedictionary