Skip to content
CAI
Software that uses CAICheck a score

lepoco/wpfui

60.6

Adequate · 23 October 2026

53.7k

lines of production code

C#

primary language

6

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

WPF UI is a comprehensive library for building modern Windows desktop applications using WPF, providing a Fluent Design-style suite of controls and services. It enables developers to create responsive interfaces with features like hardware-accelerated animations, system tray integration, and robust navigation management. The system supports advanced theming capabilities, including dynamic light/dark mode switching and high-contrast accessibility, while offering specialized components for syntax highlighting, toast notifications, and data virtualization.

How it got here

2021–2023 — Fluent UI component library expansion

98 changes.

This period focused on building a comprehensive Fluent UI component library for WPF, introducing dozens of new controls such as FluentWindow, NavigationView, and Card variants alongside a robust theming and animation system. The work also established modern application infrastructure through .NET Generic Host integration, centralized package management, and dedicated services for navigation, tray, and toast notifications.

12 changes.

This period focused on establishing a robust, decoupled navigation system through new abstractions and dependency injection support, alongside custom implementations for GridView and AccessText controls. The team significantly expanded the project's ecosystem by adding multiple sample applications to demonstrate MVVM, console, dialog, and resource management patterns. Additionally, developer tooling was enhanced with a .NET 9 dev container, and test coverage was improved through integration tests and FlaUI automation helpers.

Features

Add .NET 9 dev container for documentation builds

Developers can now use the provided dev container configuration to build and serve the documentation site locally. The setup uses the .NET 9 SDK image, installs Node.js 20, and runs a post-create script that installs DocFX, builds the documentation templates, and serves the site on port 8080.

.devcontainer · high confidence

Add Anchor and ColorPicker controls

The library now includes the Anchor control, which acts as a hyperlink button for navigating to URLs, files, or locations, and the ColorPicker control, allowing users to select colors via spectrum, sliders, and text input. These new components expand the available UI elements for building navigation and data-entry interfaces.

src/Wpf.Ui/Controls/Anchor · high confidence

Add Badge control for highlighting items and status

A new Badge control has been introduced to the WPF UI library, allowing developers to highlight items, attract attention, or flag status. The control supports a variety of visual appearances—including Primary, Secondary, Info, Caution, Danger, Success, Dark, and Light—each applying specific background and foreground color resources to the badge's border and content area.

src/Wpf.Ui/Controls/Badge · high confidence

Add BreadcrumbBar navigation control

The WPF UI library now includes a BreadcrumbBar control that displays a hierarchical path to the current location. Users can bind items to the control, which renders them as clickable segments separated by chevron icons. The last segment is automatically marked as the current location (disabled and styled differently), and clicking any segment raises an ItemClicked event or executes a bound Command, allowing applications to implement navigation based on the selected breadcrumb.

src/Wpf.Ui/Controls/BreadcrumbBar · high confidence

Add DropDownButton control with flyout support

A new DropDownButton control is introduced, allowing users to display a flyout of choices via a ContextMenu. The control extends the standard Button and manages the IsDropDownOpen state, automatically positioning the menu below the button and adjusting its minimum width to match the button's actual width upon activation.

src/Wpf.Ui/Controls/DropDownButton · high confidence

Add FlaUI automation helper for AutoSuggestBox

The Wpf.Ui.FlaUI library now includes an AutoSuggestBox class that provides a dedicated method for simulating text entry in WPF UI AutoSuggestBox controls during automated tests. This helper handles multi-line input by correctly processing line breaks and submitting the final value, simplifying the interaction with this specific control type in UI test scenarios.

src/Wpf.Ui.FlaUI · high confidence

Add High Contrast theme support

The WPF UI library now includes dedicated resource dictionaries for Windows High Contrast themes (HC1, HC2, HCBlack, HCWhite), ensuring that controls and system colors render correctly when the OS accessibility settings are enabled. This change adds the necessary brush definitions to maintain visual consistency and readability in these specific system modes.

src/Wpf.Ui/Resources/Theme · high confidence

Add HyperlinkButton control for opening URLs

Introduces a new HyperlinkButton control that extends the standard Button to open a specified URL in the default web browser when clicked. The control exposes a NavigateUri property for the target address and includes a default style with a hand cursor, icon support, and visual states for pointer-over, pressed, and disabled interactions.

src/Wpf.Ui/Controls/HyperlinkButton · high confidence

Add InfoBadge control for displaying status indicators

A new InfoBadge control has been introduced to the WPF UI library, allowing developers to display status indicators in three distinct visual styles: a simple dot, an icon, or a text value. The control supports five severity levels—Attention, Informational, Success, Caution, and Critical—which dynamically adjust the background color via resource brushes. It exposes dependency properties for Icon, Value, Severity, and CornerRadius, enabling flexible integration into application interfaces to highlight notifications or status changes.

src/Wpf.Ui/Controls/InfoBadge · high confidence

Add MVVM and Simple demo applications

The repository now includes two new sample applications: Wpf.Ui.Demo.Mvvm and Wpf.Ui.Demo.Simple. The MVVM demo demonstrates a structured architecture using the .NET Generic Host for dependency injection, featuring a main window with navigation, a dashboard with a counter, a data page with a virtualized color grid, and a settings page for theme switching. The Simple demo provides a minimal code-behind implementation of the same core features, serving as a lightweight reference for basic WPF UI integration.

samples/Wpf.Ui.Demo.Mvvm · high confidence

Add Simple WPF UI Demo sample application

Introduces a new sample application in samples/Wpf.Ui.Demo.SetResources.Simple that demonstrates core WPF UI capabilities. The app features a FluentWindow with Mica backdrop, a NavigationView with Dashboard, Data, Expander, and Settings pages, and a system tray icon. It showcases dynamic theme switching between Light and Dark modes, a counter button on the Dashboard, a virtualized items control displaying 8,000 colored buttons on the Data page, and a grouped DataGrid with expanders on the Expander page. The sample includes an app.manifest configured for PerMonitor DPI awareness and long-path support.

samples/Wpf.Ui.Demo.SetResources.Simple · high confidence

Add SyntaxHighlightDictionary for WPF UI syntax highlighting resources

A new SyntaxHighlightDictionary class has been added to the Wpf.Ui.SyntaxHighlight.Markup namespace. This class inherits from ResourceDictionary and is designed to load the syntax highlighting resources defined in SyntaxHighlight.xaml, making them available to WPF applications through a standard resource dictionary mechanism.

src/Wpf.Ui.SyntaxHighlight/Markup · high confidence

Add ThumbRate control for positive/negative feedback

Users can now use the new ThumbRate control to rate content with thumbs-up or thumbs-down interactions. This WPF control exposes a State property (None, Liked, Disliked) and a StateChanged event, allowing applications to capture and react to user feedback directly within their UI.

src/Wpf.Ui/Controls/ThumbRate · high confidence

Add TimePicker control with 12/24-hour clock support

Introduces a new TimePicker control for WPF UI that allows users to select a time value. The control supports configurable minute increments and lets users choose between 12-hour and 24-hour clock formats via the ClockIdentifier property; when set to 24-hour, the AM/PM selector is hidden. The implementation includes the core C\# class with dependency properties (Time, SelectedTime, Header, MinuteIncrement, ClockIdentifier) and a default XAML style defining the layout for hours, minutes, and AM/PM columns, along with visual states for pointer over, pressed, and disabled interactions.

src/Wpf.Ui/Controls/TimePicker · high confidence

Add VirtualizingItemsControl for virtualized list rendering

A new VirtualizingItemsControl component has been added to the WPF UI library, providing a virtualized items control based on the VirtualizingWrapPanel. This control enables efficient rendering of large lists by virtualizing its content and utilizing a PassiveScrollViewer for scrolling, with default settings configured for vertical orientation and standard virtualization mode.

src/Wpf.Ui/Controls/VirtualizingItemsControl · high confidence

Add WPF UI Dialog sample application

A new demo application has been added to showcase the WPF UI \ContentDialog\ control. The sample includes a main window with a button that, when clicked, displays a modal dialog with primary, secondary, and close buttons. This provides a concrete example for users on how to integrate and trigger dialogs within a WPF application using the WPF UI library.

samples/Wpf.Ui.Demo.Dialogs · high confidence

Add Windows interop layer for tray icon management

The WPF UI Tray package now includes a new interop layer (Libraries, Shell32, User32) that exposes the necessary Windows API structures and functions to manage system tray icons. This enables the application to correctly handle tray icon lifecycle events, including Unicode support for tooltips and proper icon destruction to prevent resource leaks.

src/Wpf.Ui.Tray/Interop · high confidence

Add default navigation page provider via dependency injection

The Wpf.Ui.DependencyInjection package now includes a default implementation of the INavigationViewPageProvider interface, allowing users to resolve navigation pages directly from the service container. By calling the new AddNavigationViewPageProvider extension method on IServiceCollection, applications can register this provider to enable seamless integration between WPF UI's NavigationView and standard .NET dependency injection.

src/Wpf.Ui.DependencyInjection · high confidence

Add default style and template for ToggleButton control

The ToggleButton control now includes a dedicated XAML resource dictionary defining its default visual appearance. This style sets standard padding, border thickness, and corner radius, while the control template uses a nested Border structure to handle visual states for checked, unchecked, pointer-over, and pressed interactions, ensuring consistent styling across the application.

src/Wpf.Ui/Controls/ToggleButton · high confidence

Add default styling for the Separator control

The WPF UI library now includes a default style for the standard WPF Separator control. This style sets the border brush to the dynamic 'SeparatorBorderBrush' resource, applies a transparent background, and defines a specific border thickness (1,1,0,0) to visually separate content elements consistently with the library's design system.

src/Wpf.Ui/Controls/Separator · high confidence

Add taskbar progress state and value controls

The WPF UI library now exposes static helpers in the \Wpf.Ui.TaskBar\ namespace to manipulate the Windows taskbar icon. Developers can use \TaskBarProgress.SetState\ to change the indicator status (None, Indeterminate, Normal, Error, or Paused) and \TaskBarProgress.SetValue\ to set the current progress value and total, with automatic clamping to the 0–100 range. These methods support both \Window\ objects and raw window handles, and automatically defer updates if the window is not yet loaded.

src/Wpf.Ui/Taskbar · high confidence

Added VirtualizingWrapPanel control for virtualized wrap layouts

The WPF UI library now includes a new VirtualizingWrapPanel control, allowing developers to display items in a wrap layout that virtualizes its children for improved performance with large collections. This control supports configurable item sizes, orientation (vertical or horizontal), and spacing modes, and is designed to work seamlessly with grouped items in controls like ListView.

src/Wpf.Ui/Controls/VirtualizingWrapPanel · high confidence

The WPF UI Gallery application can now be packaged as a Windows App (MSIX) for distribution via the Microsoft Store or sideloading. This change introduces a new \.wapproj\ project and \Package.appxmanifest\ that configure the gallery as a Desktop Bridge application, targeting Windows 10 (version 18362.0 and later) and including all necessary assets (logos, tiles, splash screen) and capabilities (runFullTrust) required for Windows Store submission.

src/Wpf.Ui.Gallery.Package · high confidence

Added assembly metadata and XML namespace definitions for the Toast Notifications package

The Wpf.Ui.ToastNotifications package now includes an AssemblyInfo file that registers the 'toast' XML namespace prefix and maps it to the Wpf.Ui.ToastNotifications CLR namespace. This enables consumers to use the toast-specific XAML namespace in their applications without needing to manually reference the assembly in markup.

src/Wpf.Ui.ToastNotifications/Properties · high confidence

The Gallery application has been refactored to use the .NET Generic Host for dependency injection and service management, replacing the previous startup model. This change introduces a new \App.xaml.cs\ that configures services like \INavigationService\ and \IContentDialogService\ via the host builder. Additionally, the Gallery now includes the Monaco Editor (version 0.45.0) for code preview capabilities, adding the necessary web assets and localization files to the project.

src/Wpf.Ui.Gallery · high confidence

Improved UI Automation support for ContentDialog and CardControl

Added new automation peers for the CardControl and ContentDialog to enhance accessibility. The ContentDialogAutomationPeer now exposes the dialog as a standard modal window to assistive technologies, implementing the IWindowProvider interface to correctly report modal, topmost, and non-resizable states, while the CardControlAutomationPeer provides a basic peer mapping the control to a Pane type.

src/Wpf.Ui/AutomationPeers · high confidence

Initial release of Wpf.Ui.ToastNotifications package

A new Wpf.Ui.ToastNotifications package has been introduced to provide toast notification support for WPF applications. The package exposes a \Toast\ class with a \Show\ method, which is currently a placeholder implementation throwing \NotImplementedException\ while awaiting native integration. The package also includes a Visual Studio Tools Manifest to register the toast component in the WPF UI toolbox.

src/Wpf.Ui.ToastNotifications · high confidence

Initial work-in-progress implementation of TreeGrid control

This change introduces the initial scaffolding for a new TreeGrid control within the WPF UI library. The diff adds the core C\# classes (TreeGrid, TreeGridHeader, TreeGridItem) and the associated XAML style template. The TreeGrid class exposes a Headers dependency property to manage column definitions, while the TreeGridHeader class provides Title and Group properties for column metadata. The XAML template defines the visual structure, including a header row with placeholder columns (Component, Value, Min, Max) and a scrollable content area using PassiveScrollViewer. The implementation is marked as 'Work in progress' with several methods throwing NotImplementedException, indicating this is a foundational commit rather than a finished feature.

src/Wpf.Ui/Controls/TreeGrid · high confidence

Introduce AutoSuggestBox control with clear button and text-change event reasons

The AutoSuggestBox control is now available in WPF UI, providing a text input with a dropdown suggestion list. Users can enable a clear button via the new ClearButtonEnabled property, and the control exposes a TextChanged event that distinguishes between user input, programmatic changes, and suggestion selections using the new AutoSuggestionBoxTextChangeReason enum. The control also supports binding an OriginalItemsSource for default filtering, custom icons, and a FocusCommand for programmatic focus.

src/Wpf.Ui/Controls/AutoSuggestBox · high confidence

Introduce Card and CardAction controls with accessibility support

Added the Card control, which supports optional footer content, and the CardAction control, an interactive button-style card featuring configurable icons, a chevron indicator, and Fluent Design styling. CardAction includes a custom automation peer to ensure screen readers correctly identify it as a button and handle click events asynchronously, improving accessibility for users relying on assistive technologies.

src/Wpf.Ui/Controls/CardAction · high confidence

Introduce CardControl for displaying header, icon, and content

A new CardControl has been added to the WPF UI library, inheriting from ButtonBase to provide a clickable card component. This control allows users to display an optional icon on the left, a header in the center, and additional content on the right, with customizable corner radius and padding. It includes built-in support for accessibility via an automation peer and automatically collapses the icon area when no icon is provided.

src/Wpf.Ui/Controls/CardControl · high confidence

Introduce ContentDialog and ContentDialogHost controls

Added a new ContentDialog control and its associated ContentDialogHost for displaying modal dialogs within WPF applications. The dialog supports customizable titles, content, and up to three buttons (Primary, Secondary, Close) with distinct appearances. It includes a focus behavior that ensures keyboard focus remains trapped within the dialog and is correctly set on initial display, and a host controller that can optionally disable sibling UI elements to prevent background interaction while the dialog is active.

src/Wpf.Ui/Controls/ContentDialog · high confidence

Introduce Flyout control for displaying contextual pop-up content

A new Flyout control has been added to the WPF UI library, allowing developers to display a pop-up window containing information for a specific interface element. The control exposes IsOpen, Placement, Opened, and Closed properties, and includes Show() and Hide() methods for programmatic management. It is styled with a default template that uses a Popup with fade animation, transparency support, and configurable placement (defaulting to Top), providing a consistent look and feel for contextual overlays.

src/Wpf.Ui/Controls/Flyout · high confidence

Introduce FontMapper tool to generate WPF icon enums from Fluent System Icons

The src/Wpf.Ui.FontMapper directory now contains a new console application that fetches the latest Fluent System Icons JSON data and generates C\# enum files (SymbolRegular.cs and SymbolFilled.cs) for use in WPF UI controls. This tool automates the mapping of icon glyphs to their corresponding character codes, ensuring that the application's icon library stays synchronized with upstream Microsoft Fluent UI updates.

src/Wpf.Ui.FontMapper · high confidence

Introduce SplitButton control with toggleable dropdown

Added a new SplitButton control that combines a standard button action with a toggleable dropdown (flyout). The control features a two-part visual design where the main area triggers a primary command and the chevron area opens a ContextMenu or associated flyout. It includes full styling support for mouse-over and pressed states, disabled visuals, and proper resource management to prevent memory leaks when the control is unloaded.

src/Wpf.Ui/Controls/SplitButton · high confidence

Introduce ToggleSwitch control with label positioning and state content

The ToggleSwitch control is now available, allowing users to present two mutually exclusive options. It supports distinct content for the On and Off states via the OnContent and OffContent properties, and includes a LabelPosition property to control whether the label appears to the left or right of the toggle. The control features a standard toggle animation and respects Padding and access key settings.

src/Wpf.Ui/Controls/ToggleSwitch · high confidence

Introduce Wpf.Ui.SyntaxHighlight library for code formatting

Adds the new Wpf.Ui.SyntaxHighlight package, providing syntax highlighting capabilities for WPF applications. This includes a Highlighter class that formats code strings into styled Paragraphs with support for autodetect, XAML, and C\# languages, a CodeBlock control for displaying highlighted code, and integrated Fira Code font support via a dedicated resource dictionary.

src/Wpf.Ui.SyntaxHighlight · high confidence

Introduce custom WPF MessageBox control with configurable buttons and icons

Adds a new \MessageBox\ control to the WPF UI library, providing a customizable notification window that replaces or augments the standard system dialog. Users can now define primary, secondary, and close buttons with custom text, icons, and appearances (e.g., Primary, Secondary), and control their visibility and enabled state via dependency properties like \IsPrimaryButtonEnabled\ and \PrimaryButtonIcon\. The control supports a title bar, content presentation, and returns a \MessageBoxResult\ enum indicating which button was pressed, offering greater flexibility for application-specific workflows.

src/Wpf.Ui/Controls/MessageBox · high confidence

Introduce dedicated Wpf.Ui.Tray package for system tray integration

The system tray functionality has been extracted from the main WPF UI package into a new, separate \Wpf.Ui.Tray\ library. This change provides a dedicated service (\NotifyIconService\) and interface (\INotifyIconService\) for managing tray icons, including support for setting tooltips, context menus, and handling mouse clicks. The package includes a \NotifyIcon\ control for XAML usage, a \TrayManager\ for low-level shell integration, and a \Hicon\ helper for icon resource management, ensuring that tray icons are properly registered and destroyed to prevent leaks.

src/Wpf.Ui.Tray · high confidence

Introduces dedicated service contracts and implementations for application services

WPF UI now exposes a set of dedicated service interfaces and their implementations to manage core application concerns, including navigation, theming, taskbar progress, and UI feedback. The \INavigationService\ and \INavigationWindow\ interfaces provide structured navigation capabilities, with the navigation service supporting data context passing and backward journal navigation. The \IThemeService\ and \ThemeService\ allow applications to programmatically control application themes and accent colors. Additionally, \ISnackbarService\ and \ITaskBarService\ offer standardized ways to display snackbar notifications and manage taskbar progress states. The \ContentDialogService\ introduces an enhanced \ContentDialogHost\ for better modal behavior, while \UiApplication\ provides a centralized entry point for application resources and accent color configuration.

src/Wpf.Ui · high confidence

Introduction of DynamicScrollBar control with auto-hide behavior

A new \DynamicScrollBar\ control has been added to the WPF UI library, extending the standard WPF \ScrollBar\. This control introduces an auto-hide mechanism where the scrollbar fades out after a configurable timeout (defaulting to 1 second) when the user is not interacting with it or hovering over it. The visual style includes a thin track (6px width) that expands to 8px on hover, along with animated line buttons and a thumb, all styled with rounded corners and specific resource keys for colors and animation durations.

src/Wpf.Ui/Controls/DynamicScrollBar · high confidence

Introduction of DynamicScrollViewer with touch support

The DynamicScrollViewer control has been introduced to provide a custom scrolling experience that automatically hides scrollbars after a period of inactivity. This new control extends PassiveScrollViewer and exposes dependency properties for Timeout and MinimalChange, allowing developers to configure the delay before scrollbars disappear and the threshold for scroll activity. The implementation includes specific fixes to ensure the control correctly responds to touch events, addressing previous issues where touch interactions were not properly detected.

src/Wpf.Ui/Controls/DynamicScrollViewer · high confidence

Introduction of FluentWindow control with native Windows 11 styling support

A new FluentWindow control has been added to the WPF UI library, providing a custom Window implementation that integrates with the Windows App SDK styling system. This control exposes dependency properties for WindowCornerPreference, WindowBackdropType, and ExtendsContentIntoTitleBar, allowing developers to easily apply modern Windows 11 visual effects like rounded corners and acrylic backgrounds. It automatically handles title bar color updates based on the system accent color and OS version, ensuring the window border and title bar remain consistent with the current application theme.

src/Wpf.Ui/Controls/FluentWindow · high confidence

Introduction of WPF UI Button control with appearance and icon support

The Wpf.Ui library now includes a dedicated Button control that extends the standard WPF Button. This new control allows developers to set an Icon (via SymbolRegular or FontIcon) and choose from different visual styles using the Appearance property. It also exposes specific dependency properties for customizing the button's look during mouse-over and pressed states, including MouseOverBackground, MouseOverBorderBrush, PressedForeground, PressedBackground, and PressedBorderBrush, as well as a CornerRadius property for rounded corners.

src/Wpf.Ui/Controls/Button · high confidence

Introduction of WPF UI PasswordBox control with password reveal and masking

The WPF UI library now includes a custom PasswordBox control that extends the standard TextBox to provide secure password input with masking. This control introduces a Password property for binding the actual password value, a PasswordChar property to customize the masking character (defaulting to '\*'), and an IsPasswordRevealed property to toggle visibility. It also features a RevealButtonEnabled property that enables a built-in toggle button (using Eye/EyeOff icons) to show or hide the password, addressing common usability issues with standard WPF password controls. The implementation includes a PasswordHelper class to manage text changes and masking logic, ensuring the password content is correctly updated whether in revealed or hidden mode.

src/Wpf.Ui/Controls/PasswordBox · high confidence

Introduction of the NotifyIcon WPF control

A new \NotifyIcon\ control has been added to the \Wpf.Ui.Tray\ library, allowing developers to place interactive icons in the Windows system tray. This control exposes dependency properties for configuring the tray icon image, tooltip text, and context menu, as well as toggles for behaviors like showing the menu on right-click and focusing the main window on left-click. It also provides routed events for left, right, and middle clicks (single and double), enabling rich interaction with the system tray icon directly from XAML or code-behind.

src/Wpf.Ui.Tray/Controls · high confidence

ListView now supports GridView view state

The WPF UI ListView control has been re-implemented to natively support a GridView view mode. A new \ListViewViewState\ enum (Default, GridView) tracks the current view, allowing the control to automatically switch its template and item container behavior when a \GridView\ is assigned to the \View\ property. This enables users to display list data in columns with features like column reordering and resizing, while maintaining the control's custom styling and virtualization.

src/Wpf.Ui/Controls/ListView · high confidence

New CalendarDatePicker control for date selection

A new CalendarDatePicker control has been added to the WPF UI library, allowing users to select dates via a calendar popup. The control exposes properties for the selected Date, highlighting the current day (IsTodayHighlighted), and setting the FirstDayOfWeek. It inherits from the Button class and manages a Popup containing a standard WPF Calendar, binding the calendar's selection state and display properties two-way to the control's public API.

src/Wpf.Ui/Controls/CalendarDatePicker · high confidence

New CardColor control for displaying color swatches with titles

A new CardColor control has been added to the WPF UI library, allowing users to display a color swatch alongside a title and subtitle. The control exposes dependency properties for Title, Subtitle, SubtitleFontSize, Color, and Brush, automatically updating the visual card background when the Color or Brush properties change. The default template renders a bordered card with a colored top section and text labels below, styled using dynamic resources for foreground, background, and border colors.

src/Wpf.Ui/Controls/CardColor · high confidence

New CardExpander control with customizable appearance and animation

A new CardExpander control has been added to the WPF UI library, extending the standard WPF Expander to provide a card-style UI component. Users can now display collapsible content with a customizable header icon, specific corner radius for rounded corners, and adjustable content padding. The control includes built-in animations for the chevron indicator and supports dynamic theming via standard WPF UI resources.

src/Wpf.Ui/Controls/CardExpander · high confidence

New CodeBlock control for displaying syntax-highlighted source code

A new CodeBlock control has been added to the WPF UI library, allowing users to display formatted source code fragments with syntax highlighting. The control automatically updates its appearance when the application theme changes and includes a built-in button command to copy the raw source code to the clipboard. It is styled with the Fluent UI theme resources and uses the Fira Code font family for code rendering.

src/Wpf.Ui.SyntaxHighlight/Controls · high confidence

New IconElement control hierarchy for WPF UI

This change introduces a new \IconElement\ base class and a set of derived controls (\FontIcon\, \SymbolIcon\, \ImageIcon\, \IconSourceElement\) in the \Wpf.Ui.Controls\ namespace. Users can now use these specific icon types in their XAML, with \SymbolIcon\ providing a convenient way to display Fluent System Icons (both regular and filled variants) via \SymbolRegular\ and \SymbolFilled\ enums. The \IconElementConverter\ allows automatic conversion of these symbol enums to \SymbolIcon\ instances in XAML, and \IconSourceElement\ supports binding to \IconSource\ objects for more complex icon scenarios.

src/Wpf.Ui/Controls/IconElement · high confidence

New Image control with rounded corners

The Wpf.Ui library now includes a new Image control that supports rounded corners. Users can set the CornerRadius property to define the outer border radius, and the control automatically calculates an inner mask radius to ensure the image content conforms to the rounded shape. The control also exposes standard properties like Source, Stretch, and StretchDirection for flexible image rendering.

src/Wpf.Ui/Controls/Image · high confidence

New InfoBar control for inline app-wide notifications

The InfoBar control has been introduced to display inline, non-floating notifications for essential app-wide messages. It supports rich content including titles, messages, and icons, and allows users to configure whether the notification is dismissible. The control features four severity levels—Informational, Success, Warning, and Error—which automatically apply consistent status colors, icons, and accessibility settings. It is designed to take up space in the layout without covering other content, ensuring that notifications are visible but do not obstruct the user's workflow.

src/Wpf.Ui/Controls/InfoBar · high confidence

New LoadingScreen control with indeterminate progress ring

A new LoadingScreen control has been added to the WPF UI library. It provides a pre-styled content control featuring an indeterminate ProgressRing on the left and a content presenter on the right, allowing users to display loading states with a consistent visual design.

src/Wpf.Ui/Controls/LoadingScreen · high confidence

New NumberBox control with compact spin buttons and custom formatting

A new NumberBox control has been added to the WPF UI library, providing a text input for numeric values that supports expression evaluation, configurable decimal rounding, and validation modes. The control introduces a Compact spin-button placement mode, which displays a single chevron button that expands into a flyout with increment and decrement options when focused, alongside the existing Inline mode. It also exposes a NumberFormatter dependency property and the INumberFormatter/INumberParser interfaces, allowing developers to customize how numeric values are parsed and displayed. The Value property defaults to TwoWay binding with LostFocus update, and the control includes a Clear button and placeholder text support.

src/Wpf.Ui/Controls/NumberBox · high confidence

New ProgressRing control for WPF UI

A new ProgressRing control has been added to the WPF UI library, providing a rotating loading indicator that supports both determinate progress (via the Progress property) and indeterminate animation modes. The control features customizable properties for the progress angle, indeterminate angle, background ring stroke, and visibility, allowing developers to integrate a Fluent UI-style loading ring into their applications.

src/Wpf.Ui/Controls/ProgressRing · high confidence

New RatingControl for star-based ratings

A new RatingControl has been added to the WPF UI library, allowing users to display and interact with a star-based rating scale. The control supports a maximum rating of 5 stars, allows for half-star increments (configurable via HalfStarEnabled), and provides visual feedback for mouse hover, click, and keyboard navigation (arrow keys). It exposes a Value property and a ValueChanged event to handle user selections.

src/Wpf.Ui/Controls/RatingControl · high confidence

New RichTextBox control with text selection toggle

A new WPF UI RichTextBox control has been added, extending the standard WPF RichTextBox with an IsTextSelectionEnabled property. This allows users to toggle whether text within the control can be selected. When selection is disabled, the control adopts a read-only appearance with transparent background and borders, suitable for displaying formatted text without interaction. The control includes a default style and a specific UI style that applies these visual changes based on the selection state.

src/Wpf.Ui/Controls/RichTextBox · high confidence

New Snackbar and SnackbarPresenter controls

The WPF UI library now includes a new Snackbar control for displaying temporary notifications at the bottom of the window, along with a SnackbarPresenter to manage a queue of multiple snackbars. Users can configure the snackbar's title, content, icon, appearance, and timeout, and the presenter handles showing, hiding, and queuing these notifications with slide-in/out animations.

src/Wpf.Ui/Controls/Snackbar · high confidence

New TabControl and TabItem styling for WPF UI

The WPF UI library now includes a dedicated XAML resource dictionary for the TabControl and TabItem controls. This change introduces a new visual theme where tab items feature rounded top corners (8px radius), a minimum height of 36 pixels, and specific dynamic resource bindings for foreground, background, and border colors. The selected tab is visually distinguished by a higher Z-index and specific border styling, while disabled states are handled via opacity animations.

src/Wpf.Ui/Controls/TabControl · high confidence

New TextBlock control with typography and appearance styling

The WPF UI library now includes a new TextBlock control that extends the standard WPF TextBlock. Users can set the FontTypography property to automatically apply predefined typography styles (affecting font size and weight) and the Appearance property to control text color via a TextColor enum. The control uses internal dependency properties and metadata overrides to ensure these styles correctly coerce the underlying FontSize, FontWeight, and Foreground values.

src/Wpf.Ui/Controls/TextBlock · high confidence

New TitleBar control with custom chrome and window-resize support

The WPF UI library now includes a new TitleBar control (located in src/Wpf.Ui/Controls/TitleBar) that provides a customizable title bar with support for header, centered, and trailing content, as well as standard window navigation buttons (minimize, maximize, restore, close, and help). The control features a dedicated TitleBarButton component with theming support and implements custom non-client area hit-testing to enable intuitive window resizing by dragging the edges and corners, even when using custom window chrome. A new ClientAreaBorder helper class is also introduced to simplify client area layout when extending UI elements into the non-client area.

src/Wpf.Ui/Controls/TitleBar · high confidence

New VirtualizingGridView control for virtualized grid layouts

A new VirtualizingGridView control has been added to WPF UI, extending ListView to display items in a grid (horizontal or vertical) using a VirtualizingWrapPanel for efficient rendering of large item collections. The control exposes Orientation, SpacingMode, and StretchItems properties to customize layout behavior, and includes a default style that configures virtualization settings and integrates a PassiveScrollViewer for scrolling.

src/Wpf.Ui/Controls/VirtualizingGridView · high confidence

New WPF UI Console Demo sample with theme switching and navigation

A new console-based demo application has been added to showcase WPF UI controls. It features a main window with a NavigationView containing Dashboard, Data, and Settings pages. The Data page demonstrates a VirtualizingItemsControl rendering 8,192 colored items. Theme switching is supported via a Settings page with Light/Dark radio buttons, a simple toggle view, and debug key shortcuts (T for theme, C for random accent color).

samples/Wpf.Ui.Demo.Console · high confidence

New WPF UI TextBox control with placeholder, icon, and clear button support

The WPF UI library introduces a new \TextBox\ control that extends the standard WPF TextBox with modern UI features. Users can now display placeholder text that appears when the field is empty, add icons to the left or right of the input, and enable a clear button that appears when the control is focused. The control also supports text selection toggling and integrates with the library's PassiveScrollViewer for consistent scrolling behavior across themes.

src/Wpf.Ui/Controls/TextBox · high confidence

New Win32 utilities for OS version detection and DWM composition checks

A new \Utilities\ class has been added to the \Wpf.Ui.Win32\ namespace to provide common window and OS-level helpers. This includes methods to detect specific Windows versions (Vista, 7, 8, 10, 11, and Insider builds) and to check if Desktop Window Manager (DWM) composition is enabled via \DwmIsCompositionEnabled\. It also introduces safe disposal helpers for managed and COM objects, and a utility to retrieve the active WPF \Window\ from the foreground HWND.

src/Wpf.Ui/Win32 · high confidence

New animation transition system with hardware-accelerated effects

The WPF UI library introduces a new animation framework in the \Wpf.Ui.Animations\ namespace, providing developers with a set of hardware-accelerated transition effects for UI elements. This includes a \Transition\ enum defining specific effects such as \FadeIn\, \FadeInWithSlide\, \SlideBottom\, \SlideRight\, and \SlideLeft\, which can be applied via the \TransitionAnimationProvider.ApplyTransition\ method. The implementation leverages WPF's \DoubleAnimation\ and \TranslateTransform\ for smooth, decelerated motion, while automatically checking for hardware acceleration support to ensure performance. Additionally, a \DesignerHelper\ class is provided to assist Visual Studio designers in detecting design mode, ensuring that animations do not interfere with the design-time experience.

src/Wpf.Ui/Animations · high confidence

New control infrastructure, icon system, and layout primitives

This update introduces foundational building blocks for the WPF UI library. It adds a comprehensive Fluent System Icons set (v1.1.316) with SymbolRegular and SymbolFilled enums, alongside IconSource classes (FontIconSource, SymbolIconSource) for declarative icon usage. A new ControlAppearance enum and IAppearanceControl interface enable standardized color theming (Primary, Secondary, Info, etc.) across controls. The release also includes a PassiveScrollViewer for improved mouse-wheel event handling, a TabView control for tabbed interfaces, and various layout primitives like VirtualizingUniformGrid and ItemRange. Additionally, it provides core infrastructure such as the ControlsServices DI initializer, IRelayCommand interfaces, and helper classes for date/time and DPI awareness.

src/Wpf.Ui/Controls · high confidence

New extension methods for WPF UI services and types

This update introduces a comprehensive set of extension methods in the Wpf.Ui.Extensions namespace to simplify common development tasks. Developers can now easily manipulate colors using HSL/HSV spaces via ColorExtensions, generate Unix timestamps with DateTimeExtensions, and manage navigation history with FrameExtensions. Service usability is improved with simplified Show overloads for SnackbarService and helper methods for ContentDialogService, while INavigationService gains a SetPaneDisplayMode method. Additional utilities include ContextMenuExtensions for applying Mica effects, SymbolExtensions for swapping icon styles, and resource-mapping helpers for TextColor and FontTypography.

src/Wpf.Ui/Extensions · high confidence

New hardware and DPI utility classes in Wpf.Ui.Hardware

The Wpf.Ui.Hardware namespace now includes new types to help applications handle display scaling and graphics capabilities. DisplayDpi and DpiHelper provide methods to retrieve window and system DPI values and convert between logical and device pixels, while HardwareAcceleration and RenderingTier allow checking if specific levels of hardware graphics acceleration are supported on the current device.

src/Wpf.Ui/Hardware · high confidence

New markup extensions and resource dictionaries for simplified theming and icon usage

The WPF UI library introduces a set of new markup extensions and resource dictionaries in the \Wpf.Ui.Markup\ namespace to streamline XAML development. Developers can now use \ControlsDictionary\ and \ThemesDictionary\ to load control and theme resources respectively, replacing the previous \Resources\ approach. Theming is simplified with \ThemeResource\ and \ThemeResourceExtension\, allowing direct binding to theme-aware brushes and colors (e.g., \TextFillColorSecondaryBrush\) without manual resource lookups. Icon handling is enhanced with \SymbolIconExtension\, \FontIconExtension\, and \ImageIconExtension\, enabling concise inline icon definitions in properties like \Button.Icon\. Additionally, \Design\ attached properties (\Design.Background\, \Design.Foreground\) provide IDE design-time support for background and foreground colors across multiple design environments.

src/Wpf.Ui/Markup · high confidence

New navigation abstractions and page provider services

The Wpf.Ui.Abstractions library now includes core interfaces and contracts to support navigation decoupling and extensibility. This adds the INavigationViewPageProvider service for retrieving pages by type, along with extension methods (GetPage, GetRequiredPage) and a custom NavigationException for error handling. For view models, INavigableView\<T\> exposes the associated ViewModel, while INavigationAware and the base NavigationAware class provide OnNavigatedToAsync/OnNavigatedFromAsync lifecycle hooks for components participating in navigation.

src/Wpf.Ui.Abstractions · high confidence

New value converters added to WPF UI library

The WPF UI library now includes a comprehensive set of new value converters in the Wpf.Ui.Converters namespace to support advanced binding scenarios. These additions include AnimationFactorToValueConverter for animating values, BackButtonVisibilityToVisibilityConverter for controlling navigation back buttons, and several split converters (LeftSplit/RightSplitCornerRadius and LeftSplit/RightSplitThickness) that allow dynamic adjustment of corner radii and thicknesses based on layout states. Additional converters such as ClipConverter, CornerRadiusSplitConverter, DatePickerButtonPaddingConverter, and ProgressThicknessConverter provide specialized logic for clipping, padding, and progress indicators, while utility converters like BoolToVisibilityConverter, NullToVisibilityConverter, and EnumToBoolConverter simplify common visibility and state bindings. The IconSourceElementConverter enables dynamic icon rendering, and FallbackBrushConverter/BrushToColorConverter handle color and brush conversions with visual debugging aids.

src/Wpf.Ui/Converters · high confidence

New window backdrop effects and corner rounding options

The Window control area now includes support for modern Windows 11 visual effects and customizable window corners. Users can apply backdrop effects such as Mica, Acrylic, Tabbed, or Auto via the new WindowBackdropType enum and the WindowBackdrop helper class, which handles platform compatibility and legacy fallbacks. Additionally, the new WindowCornerPreference enum allows applications to control whether window corners are rounded, slightly rounded, or sharp, providing finer control over the window's appearance.

src/Wpf.Ui/Controls/Window · high confidence

ProgressBar now supports vertical orientation

The ProgressBar control has been updated with a new XAML style that allows it to be displayed vertically. By setting the Orientation property to Vertical, the progress bar rotates 90 degrees, enabling vertical progress indicators in addition to the standard horizontal layout.

src/Wpf.Ui/Controls/ProgressBar · high confidence

Register XML namespaces for WPF UI Syntax Highlighting

The Wpf.Ui.SyntaxHighlight assembly now explicitly registers its XML namespaces and prefixes, allowing users to reference syntax highlighting controls and markup extensions in XAML using the 'syntax' prefix and the URI 'http://schemas.lepo.co/wpfui/2022/xaml/syntax'.

src/Wpf.Ui.SyntaxHighlight/Properties · high confidence

Wpf.Ui GridView controls with custom styling and column width constraints

The library now provides its own Wpf.Ui-specific implementations of the WPF GridView components (GridView, GridViewColumn, GridViewHeaderRowPresenter, GridViewRowPresenter, and related XAML resources) to replace the standard framework classes. This change introduces custom default styles for column headers and row indicators, and enables users to enforce MinWidth and MaxWidth constraints on GridView columns, which are now respected during layout measurement and arrangement.

src/Wpf.Ui/Controls/GridView · high confidence

Architecture

Repository initialization and build infrastructure setup

The repository has been initialized with a comprehensive build and development infrastructure. This includes a new Visual Studio solution (Wpf.Ui.sln) defining the project structure, centralized MSBuild properties and targets (Directory.Build.props/targets) that set the version to 4.3.0, enforce C\# 14.0 with nullable context, and configure trimming/AOT analysis for .NET 8+. Standard development tooling is added, including .editorconfig, CSharpier and XamlStyler formatting settings, and a .vsconfig for Visual Studio prerequisites. The project also introduces a BannedSymbols.txt to enforce the use of DateTimeOffset over DateTime, and updates the license to MIT.

(repo-wide) · high confidence

Behavioural changes

2 commits (0 fixes) modifying branding

A change to existing behaviour in branding — 2 commits, 6 files.

branding · medium confidence · unverified

Add default XAML styles for Frame, Page, StatusBar, and ItemsControl

New XAML resource dictionaries have been added to define default visual styles for core WPF controls. The Frame control is now styled with a transparent background and hidden navigation UI. The Page control receives a default style that applies the primary text fill color, ensures focusability is disabled, and provides a template that stretches content. The StatusBar control is styled to use the default control fill color for its background, the primary text color for its foreground, and includes a specific separator style. The ItemsControl style is present but currently commented out, indicating it is not yet active.

(repo-wide) · high confidence

Add default style for AccessText control

A default style has been added for the AccessText control, setting the background to transparent, font size to 14, and ensuring it is not focusable. This ensures consistent visual appearance and interaction behavior for AccessText elements across the application.

src/Wpf.Ui/Controls/AccessText · high confidence

Arc control now supports configurable sweep direction and rounded line caps

The Arc control has been rewritten to expose the SweepDirection property, allowing users to draw arcs clockwise or counterclockwise, with the starting point anchored at the 12 o'clock position. Additionally, the control now defaults to rounded line caps for both the start and end of the stroke, ensuring consistent visual styling without requiring manual configuration.

src/Wpf.Ui/Controls/Arc · high confidence

Blank project template now uses .NET Generic Host and WPF-UI 4.0

The WPF UI Blank project template has been updated to initialize the application using the .NET Generic Host, providing built-in dependency injection, configuration, and logging services via the new App.xaml.cs implementation. The template now targets WPF-UI version 4.0.0, configuring the application resources to use the Dark theme and the updated controls dictionary. Additionally, the app.manifest has been refreshed to include the correct DPI awareness schema URI and explicitly enable long-path awareness.

src/Wpf.Ui.Extension.Template.Blank · high confidence

ContextMenu styling and shadow behavior

The ContextMenu control now features a modernized appearance with rounded corners (8px radius) and a subtle drop shadow effect, replacing the previous default styling. Additionally, the ContextMenuLoader component ensures that this new style is automatically applied to internal editor context menus (such as those in RichTextBox) that do not inherit the default style by default, using reflection to inject the style at runtime.

src/Wpf.Ui/Controls/ContextMenu · high confidence

Custom ScrollViewer template places scrollbars on top of content

The ScrollViewer control now uses a new XAML template that positions vertical and horizontal scrollbars in dedicated grid cells adjacent to the content area, ensuring they render on top of the content rather than overlapping or being clipped. This change provides a consistent visual layout for scrolling regions within the application.

src/Wpf.Ui/Controls/ScrollViewer · high confidence

DataGrid control styling and editing behavior enhancements

The DataGrid control now exposes dedicated dependency properties (ElementStyle and EditingElementStyle) for CheckBox, ComboBox, and Text columns, allowing users to globally style these column types without setting them individually. The control automatically applies these styles to existing and newly added columns. Additionally, the XAML template has been updated to align with the Fluent UI design system, featuring a redesigned select-all button, refined cell and row templates, and improved visual states for focus and selection.

src/Wpf.Ui/Controls/DataGrid · high confidence

Expander control template restructured with animated content expansion

The WPF UI Expander control's visual presentation has been updated to use a new control template that replaces the previous static layout with an animated expansion effect. The header toggle now features a chevron icon that rotates 180 degrees when the expander is opened, and the content area slides into view using a TranslateTransform animation driven by an AnimationFactorToValueConverter. This change improves the user experience by providing visual feedback during state changes, while maintaining the existing styling properties for padding, borders, and colors.

src/Wpf.Ui/Controls/Expander · high confidence

Fluent navigation template now uses WPF UI 4.0 with MVVM and DI

The WPF UI - Fluent Navigation project template has been upgraded to WPF UI 4.0.0, introducing a modernized architecture for new projects. The template now leverages the .NET Generic Host for dependency injection and configuration, replacing the previous startup model. It features a FluentWindow with Mica background and rounded corners, a NavigationView with breadcrumb support, and a Settings page that allows users to switch between Light and Dark themes. The template also includes a Dashboard with a counter, a Data page with a virtualized color grid, and updated DPI awareness settings in the app manifest.

src/Wpf.Ui.Extension.Template.Fluent · high confidence

ListBox and ListBoxItem styling and scrolling behavior updated

The WPF UI library now applies new default styles to ListBox and ListBoxItem controls. ListBox items now display a hover effect using the MenuBarItemBackgroundSelected brush when the mouse is over them, and the ListBox control itself now utilizes PassiveScrollViewer for scrolling instead of the standard ScrollViewer, which may alter scroll performance and behavior. Additionally, a new default style for the Label control has been introduced with specific padding and focus settings.

src/Wpf.Ui/Controls/ListBox · high confidence

The NavigationView control has been restructured to improve navigation reliability and API clarity. A new INavigationView interface standardizes the control's contract, while INavigationViewItem defines item properties including a new InfoBadge support. The control now features a dedicated NavigationCache system with a NavigationCacheMode enum (Disabled, Enabled, Required) to manage page instance reuse during navigation. Additionally, Navigating and Navigated events with corresponding event args have been introduced to allow applications to intercept and respond to navigation transitions.

src/Wpf.Ui/Controls/NavigationView · high confidence

New Calendar and DatePicker control styles

The WPF UI library introduces new XAML resource dictionaries for the Calendar and DatePicker controls. The Calendar control now features a custom day button style with specific sizing, focus visuals, and visual states for selection and highlighting. The DatePicker control has been restyled to align with the WPF UI design language, including a new template that integrates a custom button with a calendar icon, updated border and padding resources, and merged dependencies on the TextBox styles.

src/Wpf.Ui/Controls/Calendar · high confidence

New Menu and MenuItem controls with modern styling and accessibility fixes

This change introduces the new Wpf.Ui Menu and MenuItem controls, replacing the default WPF implementations with custom-styled components. The Menu control now features a horizontal layout with a default style that disables focusability to prevent visual clutter. The MenuItem control extends the standard WPF MenuItem to support IconElement properties and includes a comprehensive XAML template overhaul. Key user-facing improvements include a modern look with rounded corners, drop shadows on submenus, and smooth slide-in animations for opening menus. Accessibility is enhanced by ensuring icons do not become tab stops and by fixing focus management issues. Additionally, a MenuLoader component is introduced to programmatically disable the legacy menu drop alignment behavior, ensuring consistent left-aligned dropdowns across the application.

src/Wpf.Ui/Controls/Menu · high confidence

New appearance management system with high-contrast and system theme support

The \src/Wpf.Ui/Appearance\ directory has been restructured into a new, dedicated appearance management system. This introduces \ApplicationThemeManager\ and \ApplicationAccentColorManager\ to handle theme switching (Light, Dark, HighContrast) and accent color updates via dynamic resource dictionaries. It adds \SystemThemeManager\ and \SystemThemeWatcher\ to automatically detect and react to Windows system theme changes (including High Contrast themes like HC1, HC2, HCBlack, HCWhite) and colorization updates. New types like \ApplicationTheme\, \SystemTheme\, and \ObservedWindow\ support this, while \WindowBackgroundManager\ handles backdrop effects and dark mode application per window.

src/Wpf.Ui/Appearance · high confidence

Redesigned CheckBox control with new styling and animations

The CheckBox control has been updated with a new XAML template that introduces visual animations for the check icon, adds specific pressed and pointer-over states for both checked and unchecked modes, and adjusts padding and sizing properties to improve layout and appearance.

src/Wpf.Ui/Controls/CheckBox · high confidence

Redesigned RadioButton visual style and interaction animations

The WPF UI RadioButton control has been updated with a new default style that includes refined visual states and animations. The control now features a larger check glyph (11px) and outer ellipse (20px) with specific stroke thicknesses. User interactions are enhanced with smooth scaling animations: the check glyph enlarges when the button is hovered while checked, and scales up from a smaller state when pressed while unchecked. The layout uses a two-column grid to separate the radio indicator from the content, with configurable padding and margins. Access key support is enabled via the ContentPresenter's RecognizesAccessKey property.

src/Wpf.Ui/Controls/RadioButton · high confidence

Redesigned ScrollBar with animated hover states and rounded visuals

The ScrollBar control now features a modernized visual style with rounded corners on the track and thumb, along with smooth animation effects. When the user hovers over the scrollbar, the track width expands from 6 to 8 pixels, the background becomes fully opaque, and the up/down line buttons fade in, providing clearer visual feedback and a more polished interaction experience.

src/Wpf.Ui/Controls/ScrollBar · high confidence

Redesigned ToolTip appearance with drop shadow and consistent typography

The ToolTip control now features a modern visual style, including a subtle drop shadow effect and rounded corners (4px radius). Text within tooltips is now justified, wraps with overflow, and adheres to a specific font size (12px) and line height (16px) for improved readability. The control also respects parent line height and font weight settings, ensuring better visual consistency with the rest of the application.

src/Wpf.Ui/Controls/ToolTip · high confidence

Redesigned TreeView and TreeViewItem controls with new styling and scrolling

The TreeView and TreeViewItem controls have been completely restyled and refactored. The TreeView now uses a custom PassiveScrollViewer for improved scrolling behavior, and the TreeViewItem features a new template with animated chevron icons for expansion, a selection indicator bar, and updated visual states for hover and selection. Additionally, the TreeViewItem class now exposes an Icon dependency property for displaying custom icons alongside node headers.

src/Wpf.Ui/Controls/TreeView · high confidence

Refactored Windows interop layer with dedicated PInvoke and reflection helpers

The \src/Wpf.Ui/Interop\ directory has been restructured to improve the reliability and maintainability of native Windows API interactions. A new \PInvoke.cs\ file centralizes \SetWindowLongPtrW\ and other P/Invoke declarations, ensuring correct handling for both x86 and x64 architectures. \UnsafeNativeMethods.cs\ now leverages these centralized calls for window appearance features like border color, corner preferences, and dark mode, while \UnsafeReflection.cs\ provides safe casting between WPF UI enums and Windows native types. This change fixes potential crashes on 32-bit systems and cleans up the underlying interop logic.

src/Wpf.Ui/Interop · high confidence

Reorganized WPF UI resource dictionaries and consolidated theme definitions

The \src/Wpf.Ui/Resources\ directory has been restructured to improve maintainability and consistency. New dedicated resource dictionaries have been introduced for core theming and UI primitives: \Accent.xaml\ defines system accent colors and brushes, \Palette.xaml\ provides a standard color palette, \StaticColors.xaml\ handles light/dark mode text and background fills, \Typography.xaml\ sets default TextBlock styles, \Fonts.xaml\ registers font families (including Fluent System Icons), \Variables.xaml\ stores sizing and layout constants, \DefaultContextMenu.xaml\ supplies a standard context menu, \DefaultFocusVisualStyle.xaml\ defines focus visuals, and \DefaultTextBoxScrollViewerStyle.xaml\ isolates the TextBox scroll viewer template. The main \Wpf.Ui.xaml\ manifest now merges these new files along with the existing control-specific XAML files, ensuring all resources are loaded in a consistent order.

src/Wpf.Ui/Resources · high confidence

Slider control receives a new visual style

The Slider control now uses a custom XAML template that updates its appearance. The thumb is styled with rounded corners and a specific size, the track has a defined height and rounded corners, and dynamic resources are used for colors to support theming. Hover states are handled to change the track and thumb colors when the mouse is over the control.

src/Wpf.Ui/Controls/Slider · high confidence

Updated Compact project template to use WPF UI 4.0 and .NET Generic Host

The WPF UI Compact project template has been upgraded to target WPF UI 4.0.0, introducing a modernized application structure. The template now utilizes the .NET Generic Host for dependency injection and service management, replacing the previous startup pattern. This includes a new \ApplicationHostService\ to manage the application lifecycle and a \MainWindow\ that implements \INavigationWindow\ to handle navigation via the \Wpf.Ui\ framework. The UI has been updated to use the \FluentWindow\ with Mica background support, and the Settings page now allows users to toggle between Light and Dark themes using the new \ApplicationThemeManager\. Additionally, the template includes updated DPI awareness settings in the app manifest and uses \AppContext.BaseDirectory\ for configuration paths.

src/Wpf.Ui.Extension.Template.Compact · high confidence

Updated XML namespace definitions for WPF UI

The assembly metadata has been updated to define the XML namespace prefix 'ui' for the WPF UI library. This change registers the primary namespace 'Wpf.Ui' and specific sub-namespaces including 'Wpf.Ui.Controls', 'Wpf.Ui.Markup', and 'Wpf.Ui.Converters' under the schema URI 'http://schemas.lepo.co/wpfui/2022/xaml', enabling consumers to use these prefixes in their XAML markup.

src/Wpf.Ui/Properties · high confidence

WPF UI ComboBox control style and template redefined

The WPF UI ComboBox control's visual presentation and layout behavior have been updated through a new XAML resource dictionary. The control now features a redesigned item style with a visible selection indicator (pill) and adjusted margins to reduce whitespace. The popup placement is explicitly set to 'Bottom' with no animation, and the minimum width is applied to the content border rather than the popup itself to prevent overflow issues. Additionally, the control now supports grouping via an ItemsPanel template and includes a universal context menu for the text input area.

src/Wpf.Ui/Controls/ComboBox · high confidence

WPF UI Visual Studio Extension updated to version 4.2.0 with ARM64 support

The WPF UI Visual Studio extension has been upgraded to version 4.2.0, introducing support for ARM64 architecture in addition to the existing amd64 support. The extension manifest now targets Visual Studio 2022 (version 17.0 to 18.0) and includes updated project templates for Compact, Blank, and Fluent project types. An MIT license file has also been added to the extension package.

src/Wpf.Ui.Extension · high confidence

Fixes

Fixes for system tray tooltip updates and context menu display

The internal tray icon manager now correctly updates the tooltip text at runtime and ensures the right-click context menu displays properly without appearing behind the taskbar. These changes resolve issues where runtime tooltip modifications were ignored and context menus failed to show or were obscured.

src/Wpf.Ui.Tray/Internal · high confidence

Test coverage

Added integration tests for WPF UI Gallery using FlaUI and xUnit v3; Added unit tests for animation and symbol extension logic.

Dependencies

Adopts Central Package Management and upgrades to .NET 10

The project now uses Central Package Management (Directory.Packages.props) to define and pin versions for all dependencies, including Microsoft.Extensions.Hosting, CommunityToolkit.Mvvm, and FlaUI. This change accompanies a major platform upgrade, with the core library and sample applications targeting .NET 10.0 alongside .NET 9.0 and .NET 8.0, while the Visual Studio extension templates have been updated to target .NET 10.0-windows.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 61 → 61 (-0.1)

Lenses

  • Code Health 58 → 58 (-0.6)
  • Architecture 83 → 83 (-0.6)
  • Maturity 83 → 83 (+0.7)
  • Readiness 55 → 55 (+0.0)
  • Security 74 → 74 (+0.0)
  • Performance 66 → 66 (+0.0)

Resolved (71)

  • Off the main sequence: Wpf.Ui.ToastNotifications(net10.0-windows)
  • Off-boarding risk: anonymized user #1
  • Outdated (npm): @braintree/sanitize-url
  • Outdated (npm): @types/d3-scale
  • Outdated (npm): @types/d3-scale-chromatic
  • Outdated (npm): @types/d3-time
  • Outdated (npm): @types/debug
  • Outdated (npm): @types/mdast
  • Outdated (npm): @types/ms
  • Outdated (npm): @types/trusted-types
  • Outdated (npm): @types/unist
  • Outdated (npm): bootstrap
  • Outdated (npm): bootstrap-icons
  • Outdated (npm): commander
  • Outdated (npm): cytoscape
  • Outdated (npm): d3
  • Outdated (npm): d3-array
  • Outdated (npm): d3-format
  • Outdated (npm): d3-geo
  • Outdated (npm): d3-scale-chromatic
  • …and 51 more

New (35)

  • EmptyCatchBlock (src/Wpf.Ui/Appearance/ApplicationAccentColorManager.cs)
  • EmptyCatchBlock (src/Wpf.Ui/Controls/ContentDialog/ContentDialog.FocusBehavior.cs)
  • EmptyCatchBlock (src/Wpf.Ui/Controls/ContentDialog/ContentDialog.cs)
  • EmptyCatchBlock (src/Wpf.Ui/Controls/ContentDialog/ContentDialogHostController.cs)
  • EmptyCatchBlock (src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs)
  • EmptyCatchBlock (src/Wpf.Ui/Interop/UnsafeNativeMethods.cs)
  • Off-boarding risk: anonymized user #1
  • Orphaned file (src/Wpf.Ui.Gallery/Effects/Snowflake.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Effects/SnowflakeEffect.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/BasicInput/BasicInputPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/DialogsAndFlyouts/DialogsAndFlyoutsPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/Layout/LayoutPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/Media/MediaPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/Navigation/NavigationPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/OpSystem/OpSystemPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/StatusAndInfo/StatusAndInfoPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui.Gallery/Views/Pages/Text/TextPage.xaml.cs)
  • Orphaned file (src/Wpf.Ui/AutomationPeers/ContentDialogAutomationPeer.cs)
  • Orphaned file (src/Wpf.Ui/Controls/ContentDialog/ContentDialog.FocusBehavior.cs)
  • Orphaned file (src/Wpf.Ui/Controls/ContentDialog/ContentDialogHost.cs)
  • …and 15 more

Architecture

  • Unchanged — 2 containers · 0 contexts · 0 edges

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

lepoco/wpfui was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 23 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ffebacd61058170cf63864b7d5aa730cffff848a — the exact code this score is about.
  • Scored under rubric-2026.10.5 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer measure-2026.10.6+preprod-d36780c2d857.