I want to change the colour of the selection element (the blue bar indicating the current date selection) to #020066 and change the fontfamily of the flyout.
I've tried using the theme resources for date picker flyout presenter provided in github but it isn't doing anything.
I haven't really used anything UWP related before so I don't know if I'm missing something. Or is that UI Element uneditable?
Edit:
I found a way to change the font of the datepicker and the color using the app.xaml file.
You override the contentcontroltheme and the datepickerhighlightfill properties like this:
<SolidColorBrush x:Key="DatePickerFlyoutPresenterHighlightFill" Color="#020066"/>
<FontFamily x:Key="ContentControlThemeFontFamily">/Assets/Fonts/Righteous Regular.ttf/#Righteous</FontFamily>
I hope this helps.

This flyout is a
DatePickerFlyoutPresenterand from the generic.xaml, you can learn that this is aGridnamed HighlightRect.To change the
Backgroundof the HighlightRect:NOTE:
FindDescendantcomes from the CommunityToolkit.WinUI.Extensions NuGet package.