【发布时间】:2014-04-03 14:43:27
【问题描述】:
我有一个按钮控件,我已关联一个字典,在该字典中我更改了按钮控件的控件模板,但现在在不同的屏幕上我不想在我想更改的按钮控件上应用该字典模板。这件事怎么可能实现?
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
<Style TargetType="{x:Type Button}">
Some control template changes
</Style>
谢谢
【问题讨论】:
标签: wpf wpf-controls resourcedictionary