阅读背景:

是否可以像在WPF中扩展Style一样扩展ControlTemplate?

来源:互联网 

So the thing is that I have a main ControlTemplate which defines the most basic stuff for the new button look we're designing. But I want to do 3 other control templates for this button so we can set different colors in those; but I don't want to copy paste the main ControlTemplate and change the color there, instead I want to "inherit" from that (like with the BasedOn property in Style) and change the color in the inherited ControlTemplate.So the thing is that I have a main ControlTempl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: