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
15
Theme getting overridden by Interaction Request
posted

Hi,

I am not sure if this question reveals my lack of understanding during my still early foray into WPF, but I am puzzled by a behavior I am seeing using Implicit Themes.

I have a window with various textboxes and comboboxes. I need to have some modal dialogs, so have implemented buttons that raise a custom popup window using Prism's interaction request. When I display the popup and close it, ALL the Comboboxes, but none of the textboxes suddenly have their BorderBrush overridden with the focus color. This does not occur if I use a Dialog Service and call the Windows MessageBox. When I look at the properties in the Visual Tree Viewer, I can see that the brush has been overridden, but I cannot figure out by what or why.

There is nothing unique about the popup and it does not even have a ViewModel (yet).

I tried setting the style explictly on one ComboBox to see if that would help, but it does not. Are there any ideas out there to point me in the right direction to look??

Thanks..

Carl

Parents Reply Children
No Data