RibbonControl QuickAccessToolbar闪烁问题 [英] RibbonControl QuickAccessToolbar flickering issue
本文介绍了RibbonControl QuickAccessToolbar闪烁问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们在WPF应用程序中使用RibbonControl的QuickAccessToolBar。
我们是添加如下按钮:
Hi,
We are using QuickAccessToolBar of RibbonControl in a WPF application.
We are adding buttons like below :
<r:ribbonquickaccesstoolbar opacitymask="Black" name="ControlBar" contextmenuopening="ControlBar_ContextMenuOpening" xmlns:r="#unknown">
<r:ribbonbutton isenabled="True" keytip="{x:Null}" smallimagesource="SaveNewImage.png" tooltip="Save" mouseoverremoved="{DynamicResource {x:Static SystemColors.GradientActiveCaptionBrushKey}}" width="25">
<r:ribbonbutton isenabled="True" keytip="{x:Null}" smallimagesource="add.png" tooltip="Add Row" mouseoverremoved="{DynamicResource {x:Static SystemColors.GradientActiveCaptionBrushKey}}" width="25" />
</r:ribbonbutton>
</r:ribbonquickaccesstoolbar>
但是当鼠标完全悬停时在两个按钮的边界之间,两个按钮的图像开始闪烁。
请告诉我们如何解决此问题。
谢谢&此致,
ankush
However when the mouse is hovered exactly in between the boundry of two button , the images of both buttons start flickering.
Please let us know how to resolve this issue.
Thanks & Regards,
ankush
推荐答案
解决方案。
只需添加还有一个属性:MouseOverBorderBrush。
它将解决闪烁问题。
Got the solution.
Just add one more property : MouseOverBorderBrush.
It will solve the flickering issue.
这篇关于RibbonControl QuickAccessToolbar闪烁问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文