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
280
Highlight last active pane
posted

Hi,

We have an application with dockable tools and document, and a ribbon on top.

When I click a button in the ribbon, focus goes to the ribbon, and away from the most recently focused pane. However, the command handling still works, since the dockmanager decides to send the routed command to the most recently activated pane. 

I want our users to be able to see where the ribbon command will be applied. I have used a style where the pane header coloring triggers on IsActivePane . But the moment focus moves to the ribbon, I can no longer see which pane will receive the command.

I've been pulling my hair trying to figure out a way to have the coloring trigger on if the pane is the last active pane - to no avail. 

Can you give me any pointers? Or am I trying to do the impossible? 

I'm using version 13.1

Parents
  • 14517
    Offline posted

    Hello Lemainan,

    I tested styling both the border and the background of the pinned and unpinned content panes using styles targeting the ContentPane, PaneTabItem (unpinned pane), and PaneHeaderPresenter and the styles continued to show the Active Pane when using tools in the Ribbon.

    I have attached the sample project I used to test this.  Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.

    If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using.  My test was performed using version 13.1.20131.1009 in NetAdvantage for WPF 2013 Volume 1.

    If the project does show the product feature working correctly, this indicates a possible problem in the code of your application.  It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.

    Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.

    Please let me know if you have any questions.

    Sincerely,

    Valerie

    Developer Support Supervisor - XAML

    Infragistics

    www.infragistics.com/support

    BaseRibbon.zip
Reply Children