Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
655
Error opening collapsed RibbonGroup (WPF 4, rev 10.3)
posted

When our Ribbon implementation does not have enough space and shows the down-arrow to expand out the collapsed group clicking on the arrow freezes our application and output has the error below. Do you guys have any idea what could cause it?

We did re-style the app a lot including your Ribbon so something you are looking for or trying to use in the visualtree might be broken. Any hints on debugging through this would be appreciated.

Error:

System.Windows.Data Error: 8 : Cannot save value from target back to source. BindingExpression:Path=IsOpen; DataItem='RibbonGroup' (Name=''); target element is 'DropDownToggle' (Name='PART_RibbonGroupButton'); target property is 'IsDroppedDown' (type 'Boolean') InvalidOperationException:'System.InvalidOperationException: Logical tree depth exceeded while traversing the tree. This could indicate a cycle in the tree.

Parents
No Data
Reply
  • 54937
    Offline posted

    I don't really have any ideas about debugging this but if you can provide a sample that demonstrates the issue we can see if we can find what is leading to that exception. It would seem that it is something about your custom RibbonGroup template since that is where that part exists.

Children