Port WPF desktop UI from MahApps to WPF UI#742
Conversation
Agent-Logs-Url: https://github.com/webprofusion/certify/sessions/dafcf54e-4cad-4b9a-906f-711eb53fe398 Co-authored-by: webprofusion-chrisc <2445502+webprofusion-chrisc@users.noreply.github.com>
Agent-Logs-Url: https://github.com/webprofusion/certify/sessions/dafcf54e-4cad-4b9a-906f-711eb53fe398 Co-authored-by: webprofusion-chrisc <2445502+webprofusion-chrisc@users.noreply.github.com>
Agent-Logs-Url: https://github.com/webprofusion/certify/sessions/dafcf54e-4cad-4b9a-906f-711eb53fe398 Co-authored-by: webprofusion-chrisc <2445502+webprofusion-chrisc@users.noreply.github.com>
|
@copilot none of the windows or dialogs have close options or save buttons etc, dark theme and light theme are not implemented |
|
|
Agent-Logs-Url: https://github.com/webprofusion/certify/sessions/c080f9ef-83aa-4383-b6e0-689ab3262642 Co-authored-by: webprofusion-chrisc <2445502+webprofusion-chrisc@users.noreply.github.com>
Fixed in 9d6e8a2: all migrated FluentWindow windows/dialogs now include a WPF UI TitleBar with close/window controls, content is stretched below the title bar so existing Save/Cancel/OK actions remain visible, and app resources now use WPF UI ThemesDictionary/ControlsDictionary so light/dark theme switching applies correctly. Screenshot: I can’t capture a live WPF desktop screenshot from this Linux sandbox, but the WPF desktop project build passes with 0 errors. |
Ports the desktop app and shared WPF UI controls from MahApps/ControlzEx to Lepo WPF UI for Fluent styling. Preserves existing layout, bindings, window controls, and user actions while removing MahApps-specific resource and control usage.
Dependencies and app resources
MahApps.MetroandControlzExpackage references withWPF-UI.ThemesDictionaryandControlsDictionaryresources.Theme handling
Wpf.Ui.Appearance.ApplicationThemeManager.Window and control migration
MetroWindowusages toui:FluentWindow.TitleBarsupport to migrated windows/dialogs so close/window controls remain available.NumericUpDown→ui:NumberBoxToggleSwitch→ui:ToggleSwitchTextBoxHelper.Watermark→ui:TextBox.PlaceholderTextFlyout.Fluent resource cleanup
Example of the migrated app theme/resource pattern: