阅读背景:

如何继承XAML样式并覆盖子元素的属性?

来源:互联网 

we just got started with XAML and are still fighting with basic issues: Coming from CSS we'd like to define a generic button style with custom control template and then have a second style inherit everything from the first style using "basedon. This second style should then override properties such e.g. "foreground color" (which works) but also properties of child elements within our custom template such as the "background color" of e.g. an included border element etc. (which doesn't work).we just got started with XAML and are still fig




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

分享到: