MessageBox and SfSkinManager

We use SfSkinManager and apply themes to windows with SfSkinManager.SetTheme. We also have SfSkinManager.ApplyStylesOnApplication = true;

However the standard WPF System.Windows.MessageBox appears without a theame. What would be the recommended way to apply a theme to MessageBox?


3 Replies

VR Vijayalakshmi Roopkumar Syncfusion Team July 1, 2021 03:24 AM UTC

 
Hi Yash 
 
Thank you for contacting Syncfusion Support. 
 
As per WPF framework, we can able to style the appearance , only if control have Template property. So only we can able to provide the styling and themes for particular control. Since the MessageBox does not have these properties , the themes are not applicable for this control. 
 
Please refer the following link for more information: 
 
 
 
 
Please get back us, if you any further queries. 
 
Regards, 
Vijayalakshmi VR 



LC Lael Conti replied to Vijayalakshmi Roopkumar August 3, 2021 05:01 AM UTC

Hi Yash
Thank you for contacting Syncfusion Support.
As per WPF framework, we can able to style the appearance , only if control have Template property. So only we can able to provide the styling and themes for particular control. Since the MessageBox does not have these properties , the themes are not applicable for this control.
Please refer the following link for more information:
Link: Control Styles and Templates - WPF .NET Framework | Microsoft Docs friday night funkin
Please get back us, if you any further queries.
Regards,
Vijayalakshmi VR


Thank you very much for the explanation.



VR Vijayalakshmi Roopkumar Syncfusion Team August 4, 2021 04:58 AM UTC

Hi Lael 
  
Thank you for your update. 
  
Please let us know if you need any other assistance on this. 
  
Regards, 
Vijayalakshmi VR 


Loader.
Up arrow icon