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
205
How to disable ability to close PaneToolWinow?
posted

Hey guys!

I have the following strunctire:

PaneToolWindow -> SplitPane -> ContentPane.

How can I disable ability to close window? Setting AllowClose to false doesn't help because I still can close it via close button in Start Task Bar.

I also tried to set e.Cancel to true for Closing event but in this case after docking the window I am getting extra pane tool window (as it was not closed due to setting e.Cancel flag to true).

Parents Reply Children