# wpfui
**Repository Path**: zjgadministrator/wpfui
## Basic Information
- **Project Name**: wpfui
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-02-15
- **Last Updated**: 2024-02-15
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README


# WPF UI
[Created with ⤠in Poland by lepo.co](https://dev.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`.
[](https://discord.gg/AR9ywDUwGq) [](https://github.com/lepoco/wpfui/blob/master/LICENSE) [](https://www.nuget.org/packages/WPF-UI/) [](https://www.nuget.org/packages/WPF-UI/) [](https://marketplace.visualstudio.com/items?itemName=lepo.WPF-UI) [](https://github.com/sponsors/lepoco)

### 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

## đ Getting started
For a starter guide see our [documentation](https://wpfui.lepo.co/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
## đ What's included?
| Name | Framework |
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Wpf.Ui**
Library that allows you to use all features in your own application | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj) [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj)
[](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj)
[](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj)
[](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj)
[](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui/Wpf.Ui.csproj) |
| **Wpf.Ui.Gallery**
Application with all controls. | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui.Gallery/Wpf.Ui.Gallery.csproj) |
| **Wpf.Ui.Demo.Mvvm**
An MVVM app written in WPF .NET 6 where you can test the features. | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui.Demo.Mvvm/Wpf.Ui.Demo.Mvvm.csproj) |
| **Wpf.Ui.Demo.Simple**
Simple .NET 7 app with navigation. | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui.Demo.Simple/Wpf.Ui.Demo.Simple.csproj) |
| **Wpf.Ui.FontMapper**
Console app for generating Fluent System Icons enums. | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui.FontMapper/Wpf.Ui.FontMapper.csproj) |
| **Wpf.Ui.Extension**
Project for Visual Studio 2022 extension. | [](https://github.com/lepoco/wpfui/blob/main/src/Wpf.Ui.Extension/Wpf.Ui.Extension/Wpf.Ui.Extension.csproj) |
## đˇ Screenshots




## đī¸ Works with Visual Studio Designer

## đ Virtualized panels for displaying thousands controls

## â¤ī¸ Custom Tray icon and menu in pure WPF

## â Custom Windows 11 SnapLayout available for TitleBar.

## đšī¸ Radiograph
Radiograph is a computer hardware monitoring app that uses **WPF UI**.

[
](https://www.microsoft.com/en-us/p/radiograph/9nh1p86h06cg?activetab=pivot:overviewtab)
## đ Documentation
Documentation can be found at https://wpfui.lepo.co/. We also have a [tutorial](https://wpfui.lepo.co/tutorial/) over there for newcomers.
## đ§ Development
If you want to propose a new functionality or submit a bugfix, create a [Pull Request](https://github.com/lepoco/wpfui/compare/development...development) for the branch [development](https://github.com/lepoco/wpfui/tree/development).
## đ 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
```
## Special thanks
Crafting apps for .NET without the creators of tools like ReSharper or XAML Styler would never be such a fantastic adventure.
- [đ JetBrains ReSharper](https://www.jetbrains.com/resharper/)
- [đ XAML Styler](https://github.com/Xavalon/XamlStyler)
## 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/style/segoe-fluent-icons-font)
[https://docs.microsoft.com/en-us/windows/apps/design/downloads/#fonts](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
pack://application:,,,/;component/Fonts/#Segoe Fluent Icons
```
## 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.