Change header/footer background without specifying custom header/footer template?

I am working on adding support for a dark mode for my Xamarin.Forms app. So far no other SyncFusion views have caused trouble, but the PopupView seems to be the first. I can easily specify the background color of the ContentTemplate contents, but the header and one/two-button footer which I make use of do not have any properties that can be set like header background color, header text color, etc.

Is there a simple way to change the appearance of the PopupView header and footer without implementing a custom header and footer and totally defeating the purpose of using the PopupView in the first place? 

I might as well drop the PopupView and use a totally custom control of my own if I'm building the header, content, and footer myself.


2 Replies 1 reply marked as answer

AH Andrew Hoke August 17, 2021 11:11 PM UTC

After more digging I have happened to stumble upon this KB article that shows how styles can (obscurely) be applied to the PopupView. It would be nice if the mechanism for setting these properties was similar to the SfPicker, where they can be set directly on the SfPicker itself rather than a nested tag.

https://help.syncfusion.com/xamarin/popup/styles?cs-save-lang=1&cs-lang=xaml


Marked as answer

KK Karthikraja Kalaimani Syncfusion Team August 18, 2021 08:05 AM UTC

Hi Andrew, 

Thank you for contacting Syncfusion support. 

We glad to know that the your requirements has been achieved at your end. Please let us know if you need further assistance from us. 

Regards,
Karthik Raja

Loader.
Up arrow icon