首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >按钮上不显示图像

按钮上不显示图像
EN

Stack Overflow用户
提问于 2012-07-25 16:32:55
回答 1查看 1.5K关注 0票数 0

我使用流畅的功能区(fluent.codeplex.com)。我想把四个按钮放在一起。我使用以下代码:

代码语言:javascript
复制
<Fluent:RibbonGroupBox Header="Some Header">
    <Fluent:RibbonToolBar>
        <Fluent:RibbonToolBar.LayoutDefinitions>
            <Fluent:RibbonToolBarLayoutDefinition Size="Small">
                <Fluent:RibbonToolBarRow>
                    <Fluent:RibbonToolBarControlGroupDefinition>
                        <Fluent:RibbonToolBarControlDefinition Target="buttonFirst" />
                        <Fluent:RibbonToolBarControlDefinition Target="buttonPrevious" />
                        <Fluent:RibbonToolBarControlDefinition Target="buttonNext" />
                        <Fluent:RibbonToolBarControlDefinition Target="buttonLast" />
                    </Fluent:RibbonToolBarControlGroupDefinition>
                </Fluent:RibbonToolBarRow>
            </Fluent:RibbonToolBarLayoutDefinition>
        </Fluent:RibbonToolBar.LayoutDefinitions>
        <Fluent:Button Size="Small" Icon="/WpfApplication1;component/Resources/First_16.png" x:Name="buttonFirst" />
        <Fluent:Button Size="Small" Icon="/WpfApplication1;component/Resources/Previous_16.png" x:Name="buttonPrevious" />
        <Fluent:Button Size="Small" Icon="/WpfApplication1;component/Resources/Next_16.png" x:Name="buttonNext" />
        <Fluent:Button Size="Small" Icon="/WpfApplication1;component/Resources/Last_16.png" x:Name="buttonLast" />
    </Fluent:RibbonToolBar>
</Fluent:RibbonGroupBox>

按钮已正确对齐,但按钮没有图像。问题出在哪里?

(图像文件可用)

EN

回答 1

Stack Overflow用户

发布于 2013-08-20 03:27:59

有时你需要改变‘复制到输出目录’的设置。我通常使用'Always‘。或者IfNewer,如果你有很多东西,并且不想不断地擦除和重新复制。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11645689

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档