【发布时间】:2009-07-16 13:46:54
【问题描述】:
我正在尝试将两个 Datatrigger 添加到我的 WPF 窗口中。通常,这可以通过添加
`<Style TargetType="{x:Type TextBlock}"></Style>`
到 Window.Resources。 在这种情况下,我已经有了
`<ResourceDictionary Source="/PresentationFramework.Aero, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL;component/themes/aero.normalcolor.xaml" />`
在里面。有没有办法从那里覆盖定义?
非常感谢!
干杯
【问题讨论】:
标签: c# wpf styles resourcedictionary