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
80
Loosing Styles on Floating Panels
posted

Hi,

I have an application that has a mixture of Panels defined in XAML as well as a number that I dynamically add on demand.

My problem is that when I only use the statically defined Panels the application starts and on drag/undock the correct styling is applied to the floating panels. When I dynaamically create panels during startup the styles are no longer used when the panel floats.

I am sure that I am missing some "magic" code here to set the styles (although I wonder why default styles are not automatically used in this case).

My styles define a custom chrome for the floating windows and use UseOsNonClientArea=false to achieve this.

Does anything spring to mind out there?

Regards,

Graham

Parents Reply Children
No Data