/UniversalWPF

A set of WPF Controls ported from Windows Universal

Primary LanguageC#Apache License 2.0Apache-2.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.

TwoPaneView

  • NumberBox - A full port of UWP's NumberBox control.

numberbox

RelativePanel

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)

image