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
265
Floating content pane does not pass keyboard events
posted

In our application we use the xamDockManager. Unfortunately in floating mode some keyboard events does not work like they do in docked mode.

For example navigating the ui elements with tab does not work anymore.

Another example is that the data grid we use, does not react on enter when the cell ist in edit mode (to confirm and set the typed value).

Do you have any ideas how to solve these problems?

Thanks in advance

Stef

Parents
  • 54937
    Offline posted

    stef3004 said:
    In our application we use the xamDockManager. Unfortunately in floating mode some keyboard events does not work like they do in docked mode.

    The floating windows are separate WPF Windows so key events aren't/can't be routed from the floating windows to the main window containing the xamDockManager if that is what you are asking. If you want, you can use the ToolWindowLoaded event and hook the key events of the e.ToolWindow (and make sure you use the ToolWindowUnloaded to unhook the events).

    stef3004 said:

    For example navigating the ui elements with tab does not work anymore.

    I'm not sure I follow. Tabbing is always within a ContentPane. You should be able to tab between all the controls within the content pane using Tab/Shift-Tab. If you want to move between panes then you would either use ctrl-tab to bring up the pane navigator, use alt-f7 to navigate the panes within the pane navigator (i.e. the left hand side) or use alt-f6 to navigate between the panes.

    stef3004 said:

    Another example is that the data grid we use, does not react on enter when the cell ist in edit mode (to confirm and set the typed value).

    I'm not sure what you are describing here. Are you sure it is not that you have hooked a key event of the main window or ancestor of the contentpane and since it's not receiving the key events it won't do that action?

Reply Children
No Data