lepoco /wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.

★ 9,757⑂ 1,007👁 91⑃ 635● 906▤ 23
C#MITCreated 2021-07-24wpfui.lepo.co
下载:4.3.04.3.0 ↓4.3.02026-05-04
+5
日增长
9,757
stars
1,007
forks
91
watchers
635
prs
906
issues
23
releases

README

!WPF UI Banner Dark
!WPF UI Banner Light

 WPF UI

Created with ❤ in Poland by Leszek Pomianowski and wonderful open-source community.  
WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly. Library changes the base elements like Page, ToggleButton or List, and also includes additional controls like Navigation, NumberBox, Dialog or Snackbar.

   

Deliver humanitarian aid directly to Ukraine  


!ua

 Support

To ensure you receive the expert guidance you need, we offer a variety of support plans designed to meet the diverse needs of our community. Whether you are looking to modernize your WPF applications or need assistance with our other libraries, our tailored support solutions are here to help. From priority email support to 24/7 dedicated assistance, we provide flexible plans to suit your project requirements.

Take a look at the lepo.co support plans  
Sponsor WPF UI on GitHub

 Getting started

For a starter guide see our documentation.

WPF UI Gallery is a free application available in the _Microsoft Store_, with which you can test all functionalities.  


powershell
winget install 'WPF UI'


WPF UI is delivered via NuGet package manager. You can find the package here:  


Visual Studio  
The plugin for Visual Studio 2022 let you easily create new projects using WPF UI.  


 Screenshots

!Demo App Sample

!Monaco Editor

!Store App Sample

 Works with Visual Studio Designer

!VS2022 Designer Preview

 Custom Tray icon and menu in pure WPF

!WPF UI Tray menu in WPF

 Custom Windows 11 SnapLayout available for TitleBar

!WPF UI Snap Layout for WPF

 Development

If you want to propose a new functionality or submit a bugfix, create a Pull Request for the branch main.

 How to use?

First, your application needs to load custom styles, add in the MyApp\App.xaml file:

xml

  
    
      
        
        
      
    
  



If your application does not have MyApp\App.xaml file, use ApplicationThemeManager.Apply(frameworkElement) to apply/update the theme resource in the frameworkElement.

C
public partial class MainWindow
{
    public MainWindow()
    {
        InitializeComponent();
        ApplicationThemeManager.Apply(this);
    }
}


Now you can create fantastic apps, e.g. with one button:

xml

  
      
      
          
      
  



 Microsoft Property

Design of the interface, choice of colors and the appearance of the controls were inspired by projects made by Microsoft for Windows 11.  
The Wpf.Ui.Gallery app includes icons from _Microsoft WinUI 3 Gallery_ app. They are used here as an example of creating tools for Microsoft systems.

 Segoe Fluent Icons

WPF UI uses Fluent System Icons. Although this font was also created by Microsoft, it does not contain all the icons for Windows 11. If you need the missing icons, add Segoe Fluent Icons to your application.  
According to the EULA of Segoe Fluent Icons we cannot shi

Top issues

Discussions

Latest release

4.3.0 4.3.0 2026-05-04
What's Changed
 fix(controls): Add UpdateAutoSuggestBoxSuggestions call on MenuItemCollection change by @scanfing in https://github.com/lepoco/wpfui/pull/1696
 fix(tray): support Unicode for NotifyIcon.TooltipText by @chucker in https://github.com/lepoco/wpfui/pull/1706
 feat(controls): Implement SpinButtonPlacementMode.Compact for NumberBox by @chucker in https://github.com/lepoco/wpfui/pull/1709
 fix(controls): Change order of triggers for Button by @dkuaf in https://github.com/lepoco/wpfui/pull/1702


Full Changelog: https://github.com/lepoco/wpfui/compare/4.2.1...4.3.0

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON