为ComboBox调整功能区RibbonGroup(micorsoft功能区)的大小时发生绑定中断 [英] Binding Breaks on resize RibbonGroup (micorsoft ribbon) for ComboBox

查看:60
本文介绍了为ComboBox调整功能区RibbonGroup(micorsoft功能区)的大小时发生绑定中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Microsoft Ribbon中拥有桌面应用程序,在该应用程序中,我们已将ribbon组放置在功能区选项卡中

I am have desktop application with Microsoft Ribbon , in this application we have placed Ribbon Group inside the ribbon Tab

  此RibbonGroup包含一个组合框,其项目源与ViewModel绑定

 但是问题是,当我调整主窗口的大小以使Ribbon组的大小变小(例如Collapsed)时,调整了主窗口的大小后,组合框的绑定被破坏了, 组合框为充分利用元素

 But the problem is that when i resize the main window so that Ribbon group becomes small in sized (say Collapsed) and after resizing the main window the binding of combobox is broken and combobox is  emply in elements

折叠后ribbonGroup中的组合框可以帮助身体重新获得绑定.

can some body help in to regain the binding of combobox in ribbonGroup after it is collapsed.

谢谢

 

 

推荐答案

Hi Amit Kamal Sharma,

Hi Amit Kamal Sharma,

我已按照您的步骤进行操作,但无法在我这一边重现此问题.折叠前后,ComboBox上的绑定都可以正常工作.

I followed your steps but cannot reproduce this issue on my side. The binding on the ComboBox works fine before and after it is collaspsed.

如果您可以提供一个示例和详细的步骤来重现此问题,将很有帮助.

It will be helpful if you can provide a sample and detailed steps to reproduce this issue.

最诚挚的问候,

Min


这篇关于为ComboBox调整功能区RibbonGroup(micorsoft功能区)的大小时发生绑定中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆