A set of WPF Controls ported from Windows Universal apps / WinUI
NOTE: This is mostly a work in progress. TwoPaneView is fully working, but might have issues on Windows X, as the necessary APIs there to do screen spanning are not yet exposed. State Triggers are not working yet. RelativePanel should work but needs lots of testing (please help!), SplitView is partially working, but needs some work still.
Install this from NuGet:
Install-Package UniversalWPF
No xmlns registration needed in your xaml files! You can just use the controls prefix-less like the built-in controls. Example:
<TwoPaneView>
<TwoPaneView.Pane1>
<RelativePanel>
<NumberBox />
</RelativePanel>
</TwoPaneView.Pane1>
</TwoPaneView>
If you like this library and use it a lot, consider sponsoring me. Anything helps and encourages me to keep going.
See here for details: https://github.com/sponsors/dotMorten
- TwoPaneView - A full port of UWP's TwoPaneView control, including support the Windows X Dual-screen devices.
- NumberBox - A full port of UWP's NumberBox control.
- RelativePanel - Identical behavior to UWP/WinUI. Want to see this built-in in WPF? Vote here
-
SplitView (Very much work in progress - doesn't animate in/out and closed compact mode isn't rendering)
-
StateTrigger / AdaptiveTrigger (API complete, functionality not so much)