本文介绍了TabItem的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Blend 4 RC我正在编辑一个tabitem的样式(在一个干净的项目上),一切都很好,但在项目中,我有一个网格,默认颜色为,当我将其更改为黑色为示例并尝试将样式应用于第二个tabitem此矩形
保持其默认颜色。每次我想添加一个项目,我必须改变这种颜色。这很奇怪!我错过了什么!

In Blend 4 RC i am editing the style of a tabitem (on a clean project) and everything is ok but in the item i have a grid that has a default color on and when i change it to black for example and try to apply the style to a second tabitem this rectangle stays with its default color. And every time i want to add an item i have to change this color. This is odd! Am i missing something!

< sdk:TabItem Header =" TabItem" Style =" {StaticResource DarkTabItem}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; <网格背景="#FFE5E5E5">

<sdk:TabItem Header="TabItem" Style="{StaticResource DarkTabItem}">
                <Grid Background="#FFE5E5E5">

推荐答案


这篇关于TabItem的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 20:53