• Stars
    star
    7,356
  • Rank 5,258 (Top 0.2 %)
  • Language
    C#
  • License
    MIT License
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

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.

Discord GitHub license Nuget Nuget VS 2022 Downloads 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 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

$ 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
NET6 NET7
NETCore3
NETFramework48
NETFramework472
NETFramework462
Wpf.Ui.Gallery
Application with all controls.
NET7-win
Wpf.Ui.Demo.Mvvm
An MVVM app written in WPF .NET 6 where you can test the features.
NET7-win
Wpf.Ui.Demo.Simple
Simple .NET 7 app with navigation.
NET7-win
Wpf.Ui.FontMapper
Console app for generating Fluent System Icons enums.
NET7
Wpf.Ui.Extension
Project for Visual Studio 2022 extension.
NETFramework48

πŸ“· 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

πŸ“– 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.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

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

More Repositories

1

CUDAfy.NET

CUDAfy .NET allows easy development of high performance GPGPU applications completely from the .NET. It's developed in C#.
C#
71
star
2

dxnet

DX .NET, a fork of SharpDX, is free software allowing the development of high performance game, 2D and 3D graphics rendering as well as realtime sound application.
C#
57
star
3

i18n

Convenient localization of Windows applications with YAML files.
C#
44
star
4

cpmm

Cyberpunk 2077 Mod Manager
C#
22
star
5

nativemethods

Set of tools and ready-made methods that are wrappers over the core functionalities of Windows, such as User32, Shell32 or Kernel32.
C#
19
star
6

forward

Now you can have your own Bit.ly or Google URL shortener equivalent. Forward is a simple PHP-based tool with which you can shorten links and collect statistics about activity.
PHP
10
star
7

openapi.client

OpenAPI Client is a toolkit that helps you create HTTP clients for external APIs based on their OpenAPI specifications. It simplifies the process of consuming and interacting with various web services.
C#
7
star
8

social-messenger

Modify colors, choose languages, integrate with PolyLang, change positions and much more… It’s easy! Live Chat (Messenger API) is an easy-to-use plugin that helps ordinary users to start Messenger customer chat on their site
PHP
6
star
9

instaplanner

Manage, organize and schedule your Instagram posts.
TypeScript
5
star
10

radiograph_

Universal tool for managing your computer. Monitoring of temperatures and power consumption, checking the health status of hard drives and the performance of components such as processor or graphics card.
4
star
11

w3.ws

The Witcher 3 Widescreen CLI Patcher
C#
3
star
12

aurora

Open alternative to Ambilight written in C# for Windows 10.
C#
3
star
13

reflectioneventing

Streamline your application’s event-driven architecture. ReflectionEventing enables easy event handling in .NET applications through dependency injection, promoting loose coupling and increased modularity.
C#
2
star
14

core

PHP re-implementation of the ASP.NET Core and other C#-like components.
PHP
1
star
15

hwdp

Home (Assistant) Windows Desktop Plugin
1
star
16

react-doc

A small page for documentation management.
TypeScript
1
star
17

wakey-wakey

Application for starting computers remotely in a local network
C#
1
star