UniversalWPF 1.0.0
dotnet add package UniversalWPF --version 1.0.0
NuGet\Install-Package UniversalWPF -Version 1.0.0
<PackageReference Include="UniversalWPF" Version="1.0.0" />
paket add UniversalWPF --version 1.0.0
#r "nuget: UniversalWPF, 1.0.0"
// Install UniversalWPF as a Cake Addin #addin nuget:?package=UniversalWPF&version=1.0.0 // Install UniversalWPF as a Cake Tool #tool nuget:?package=UniversalWPF&version=1.0.0
UniversalWPF
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.
NuGet / Usage
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>
Sponsoring
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
Controls
- 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
In Progress
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)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.19041 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5.2
- No dependencies.
-
net6.0-windows10.0.19041
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.