https://github.com/backslashspace/.net-framework-fluentui
WinUI 3 for .Net Framework in WPF
https://github.com/backslashspace/.net-framework-fluentui
accent-color automatic dark-mode dark-theme easytouse lightmode lightweight netframework48 netframework481 theme ui winui3 wpf
Last synced: 3 months ago
JSON representation
WinUI 3 for .Net Framework in WPF
- Host: GitHub
- URL: https://github.com/backslashspace/.net-framework-fluentui
- Owner: backslashspace
- License: gpl-2.0
- Created: 2024-08-14T21:57:13.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-05T19:39:24.000Z (about 1 year ago)
- Last Synced: 2025-04-08T09:51:25.862Z (6 months ago)
- Topics: accent-color, automatic, dark-mode, dark-theme, easytouse, lightmode, lightweight, netframework48, netframework481, theme, ui, winui3, wpf
- Language: C#
- Homepage:
- Size: 1.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# WinUI 3 for .Net-Framework


## what is this
its in progress, but what the title says
## features
- not a good readme.md yet
- easy to use
- design time preview
- all controls are defined in code behind (no xaml just c#)
- design time dark and light mode (only need to change one value to switch (FluentUI.Theme.IsDarkMode))
- automatic theme and accent color change on registry update (for example when theme or color was changed in settings app)
- very very close to the original (1:1 is goal)
- relatively lightweight / performant
- tied to avoid abstraction as much as possible
- tried to avoid allocations as much as possible
- yes Int32 not intas of now it uses unsafe for some stuff, shouldn't be too hard to use it without unsafe though (used to cast a Boolean to a UInt32 in DWM api wrapper)
## getting started
- detailed description later
- copy the UI folder + include fonts found in the resources sub dir
- for now define custom entry point for your wpf app
- add the initializer and wmi resource releaser
- hook all windows to Theme changed event
- add xaml namespace to xaml designer or similar
## resources (soon)[Controls for Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/controls/)
Controls sampled from
sampled from:
- Windows 11 Settings App