Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

wpfui

> 编程语言
Open source

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

9.6K stars0 likes0 views
WebsiteGitHub

About

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

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
https://bank.gov.ua/en/about/humanitarian-aid-to-ukraine

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.
https://apps.microsoft.com/store/detail/wpf-ui/9N9LKV8R9VGM?cid=windows-lp-hero

powershell
winget install 'WPF UI'

WPF UI is delivered via NuGet package manager. You can find the package here:
https://www.nuget.org/packages/wpf-ui/

Visual Studio
The plugin for Visual Studio 2022 let you easily create new projects using WPF UI.
https://marketplace.visualstudio.com/items?itemName=lepo.wpf-ui

Screenshots

Works with Visual Studio Designer

Custom Tray icon and menu in pure WPF

Custom Windows 11 SnapLayout available for TitleBar

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
<Application
  ...
  xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ui:ThemesDictionary Theme="Light" />
        <ui:ControlsDictionary />
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Application.Resources>
</Application>

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

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

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

xml
<ui:FluentWindow
  ...
  xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
  <StackPanel>
      <ui:TitleBar Title="WPF UI"/>
      <ui:Card Margin="8">
          <ui:Button Content="Hello World" Icon="{ui:SymbolIcon Fluent24}" />
      </ui:Card>
  </StackPanel>
</ui:FluentWindow>

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 ship a copy of it with this dll. Segoe Fluent Icons is installed by default on Windows 11, but if you want these icons in an application for Windows 10 and below, you must manually add the font to your application's resources.
https://docs.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font
https://docs.microsoft.com/en-us/windows/apps/design/downloads/#fonts

In the app dictionaries, you can add an alternate path to the font

xml
<FontFamily x:Key="SegoeFluentIcons">pack://application:,,,/;component/Fonts/#Segoe Fluent Icons</FontFamily>

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.

License

WPF UI is free and open source software licensed under MIT License. You can use it in private and commercial projects.
Keep in mind that you must include a copy of the license in your project.

Issues· 452 open

View all issuesOpen on GitHub
  • #1288

    Top Issues Dashboard

    :star: top issues dashboardUpdated Sep 19, 2026
  • #1760

    TitleBar Buttons Have Hit Testing and Click Issues

    bugUpdated Sep 18, 2026
  • #1647

    Close button flickers on hover and sometimes cannot be clicked of Window

    bug:star: top bugUpdated Sep 17, 2026
  • #1038

    WPF UI Gallery shows an alternate `TabControl` when naviagting to it via `Home > Navigation > TabView`

    bugUpdated Sep 17, 2026
  • #1736

    SymbolIcon renders the wrong glyph for all SymbolRegular/SymbolFilled members above U+FFFF (supplementary plane)

    bugUpdated Sep 1, 2026
  • #1748

    bug: NavigationViewItemAutomationPeer causes UI thread freeze / crash on Wine and degraded Windows UIA environments

    bug:star: top issue:star: top bugUpdated Aug 21, 2026
  • #1691

    Cannot disable resizing in FluentWindow

    bug:star: top bugUpdated Aug 15, 2026
  • #1754

    NavigationViewItem does not render MenuItems beyond the 2nd nesting level

    bugUpdated Aug 12, 2026
  • #972

    FluentWindow not allowing window resize from left or right top corners

    bugUpdated Aug 12, 2026
  • #1734

    foreground is incorrect when the button is pressed

    bug:star: top bugUpdated Aug 12, 2026

> Tags

C#csharpdotnetfluentmica

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 19, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言