WPF-UI 2.0.3

.NET 5.0 .NET Core 3.1 .NET Framework 4.6.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package WPF-UI --version 2.0.3
NuGet\Install-Package WPF-UI -Version 2.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WPF-UI" Version="2.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WPF-UI --version 2.0.3
#r "nuget: WPF-UI, 2.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WPF-UI as a Cake Addin
#addin nuget:?package=WPF-UI&version=2.0.3

// Install WPF-UI as a Cake Tool
#tool nuget:?package=WPF-UI&version=2.0.3

WPF UI Banner Dark WPF UI Banner Light

WPF UI

Created with ❤ in Poland by lepo.co
A simple way to make your application written in WPF keep up with modern design trends. Library changes the base elements like Page, ToggleButton or List, and also includes additional controls like Navigation, NumberBox, Dialog or Snackbar.

GitHub license Nuget Nuget VS 2022 Downloads Size Sponsors

ua

Deliver humanitarian aid directly to Ukraine.

https://bank.gov.ua/en/about/humanitarian-aid-to-ukraine

Refugees in Poland

Many forms of support for refugees from Ukraine and organizations supporting them are available on the Polish government website
https://pomagamukrainie.gov.pl/chce-pomoc/prywatnie/pomoc-finansowa

ua

🚀 Getting started

For a starter guide see our documentation.

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

📁 What's included?

Name Framework
Wpf.Ui<br />Library that allows you to use all features in your own application NET6 NET5<br/>NETCore3<br/>NETFramework48<br/>NETFramework47<br/>NETFramework461
Wpf.Ui.Demo<br />An MVVM application written in WPF .NET 6 where you can test the features. NET6win
Wpf.Ui.SimpleDemo<br />Simple .NET 6 application with navigation. NET6win
Wpf.Ui.FontMapper<br />Console app for generating Fluent System Icons enums. NET6win
Wpf.Ui.Extension<br />Project for Visual Studio 2022 extension. NET6win

🏭 Branches

Branch Status
WPF UI - Main Build status
WPF UI - Development Build status

📷 Screenshots

Demo App Sample

Text Editor Sample

Store App Sample

🏗ī¸ Works with Visual Studio Designer

VS2022 Designer Preview

🏁 Virtualized panels for displaying thousands controls

WPF UI virtualized wrap panels

❤ī¸ 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

🕹ī¸ Radiograph

Radiograph is a computer hardware monitoring app that uses WPF UI.

Radiograph screenshot

<img src="https://github.com/lepoco/wpfui/blob/main/.github/assets/microsoft-badge.png?raw=true" width="120">

📖 Documentation

Documentation can be found at https://wpfui.lepo.co/. We also have a tutorial over there for newcomers.

🚧 Development

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

📐 How to use?

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

<Application
  ...
  xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ui:ThemesDictionary Theme="Dark" />
        <ui:ControlsDictionary />
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Application.Resources>
</Application>

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

<ui:UiWindow
  ...
  xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
  <Grid>
    <ui:Button
      Content="Hello World"
      Icon="Fluent24"/>
  </Grid>
</ui:UiWindow>

Special thanks

Crafting apps for .NET without the creators of tools like ReSharper or XAML Styler would never be such a fantastic adventure.

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.Demo app includes icons from Shell32 for Windows 11. These icons are the legal property of Microsoft and you may not use them in your own app without permission. 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

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

Compilation

Use Visual Studio 2022 and invoke the .sln.

Visual Studio
WPF UI is an Open Source project. You are entitled to download and use the freely available Visual Studio Community Edition to build, run or develop for WPF UI. As per the Visual Studio Community Edition license, this applies regardless of whether you are an individual or a corporate user.

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows7.0 was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on WPF-UI:

Package Downloads
AwesomeProperties

This nuget can help you to create properties tab and will bind data for you

LYSoft.Libs.Wpf.WpfUI

Package Description

Someday.Controls

WPF Controls Extent

GitHub repositories (12)

Showing the top 5 popular GitHub repositories that depend on WPF-UI:

Repository Stars
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.
CosmosOS/Cosmos
Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
Erisa/RoundedTB
Add margins, rounded corners and segments to your taskbars!
BartoszCichecki/LenovoLegionToolkit
Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
DGP-Studio/Snap.Genshin
äŊ æƒŗčĻįš„原įĨžå…¨åŽļæĄļ
Version Downloads Last updated
3.0.0-preview.2 913 4/23/2023
3.0.0-preview.1 2,153 1/13/2023
2.0.3 27,027 9/25/2022
2.0.2 7,693 7/18/2022
2.0.1 2,884 6/18/2022
2.0.0 811 6/16/2022
1.2.7 4,758 5/7/2022
1.2.6 1,053 5/2/2022
1.2.4 1,576 4/20/2022
1.2.3 638 4/16/2022
1.2.2 1,864 3/20/2022
1.2.1 1,832 12/22/2021
1.2.0 277 12/22/2021
1.1.0 585 11/12/2021
1.0.0 578 10/3/2021