Skip to content

Align the CalendarView, CalendarDatePicker and DatePicker overlays with WinUI #25016

Open

Description

@MartinZikmund

What would you like to be added? 💡

Controls/CalendarView/CalendarView_themeresources.xaml, CalendarDatePicker_themeresources.xaml, DatePicker/DatePicker_themeresources.xaml and DateTimePickerFlyout_themeresources.xaml override the system styles from Generic.xaml with pre-Fluent-2 CommonStyles content. Either:

  • replace them with MUX CommonStyles winui3/release/2.5.1 in Uno.UI.FluentTheme, or
  • drop them from Uno.UI so WinUI's dxaml styles in Generic.xaml apply.

Also remove the dead uno:ScrollViewer.ShouldFallBackToNativeScrollBars setter.

Why is this needed? 🤔

Examples of the drift:

  • CalendarDatePicker uses CalendarDatePickerForeground and IsApplicationFocusVisualKindReveal where CommonStyles has CalendarDatePickerTextForeground and UseSystemFocusVisuals.
  • The DatePicker flyout presenter has a different CornerRadius and BackgroundSizing.
  • The CalendarDatePicker border brushes differ.
  • About 60 CommonStyles CalendarView resources (Blackout, Today*, HeaderNavigationButton*, OutOfScope*) are missing.

This is a large visual change either way, so it needs a screenshot pass.

Renderer 🎨

  • Skia

For which platforms 📱💻🖥️

All Skia targets

Anything else we need to know? 💬

Follow-up from #21513 (verbatim WinUI Generic.xaml), which deliberately left this out of scope. Compare against winui3/release/2.5.1 in microsoft-ui-xaml (src/controls/dev/...).

Activity

  1. added
    kind/enhancement
    area/theming
    difficulty/medium 🤔
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/themingdifficulty/medium 🤔kind/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions