I have a content pane on which i have a theme applied, the content pane can be docked anywhere on the screen and can make it as a floating window.
When i am making my content pane a floating windows, the theme gets lost.
I wanted my theme to remain when the content pane acts as a floating window or is there any alternative to set my personal theme only while content pane is floating
Regards,
Sachin Deoli
Hello Sachin,
So if picture2 is not your expected image then would like to know which theme did you apply to the pane?
And how did you apply?
Can I also have picture of before floating window ?
Hello Divya Jain
I have tried e.Window.UseOSNonClientArea to false it changes my floating window style from picture 1 to picture 2
picture1-:
picture2-:
How can i set my own theme on the floating window?
Kind Regards,
Thank you for contacting. May I know how did you apply the theme and which part of the floating window you think dosent have theme applied? Or may be share a image with us.
Please note , when you float the pane and if you mean that specific theme is not applied ,instead you see the OS theme applied then its expected , to have your application specific theme apply to your floating window you can hook the ToolWindowLoaded event and set the e.Window.UseOSNonClientArea to false.
Let me know if you have any question and if your issue is different.