/ModernWpf

Modern styles and controls for your WPF applications without need WinRT

Primary LanguageC#MIT LicenseMIT

nuget-version Nuget

ModernWPF UI Library

Modern styles and controls for your WPF applications.

NOTE: This version is an unofficial version of the ModernWPF

Why was this version created?

The official version is depends on WinRT, This version has removed this dependency and the size of the output file will be less and there will be no need for SDK contract. also this version includes some controls and features that are not included in the original project [for example support for Persian Calendar and PersianDatePicker, More Controls and More Styles]

NOTE: WinRT based features will not work in this version

  • All styles, and controls of the original version are also included in this version.
  • This version has a tidier and cleaner structure and uses a cleaner demo.
  • This project will periodically update its code based on the original version, so all the new features and fixed bugs of the original version will be included in this version.
  • I am not responsible for bug fixes or adding new features. For such tasks, please contact the original version.
  • If you have any other questions, you can contact us here

Usage

Easy Way

Download and Insatall VSIX Extension

NOTE: VSIX Extension Recommended, because Intellisense Enabled by Default.

VSIX

Manual

Step 1: Add a reference to ModernWpfUis or search for ModernWpfUis on the nuget;

Install-Package ModernWpfUis

Step 2: Add code in App.xaml as follows:

xmlns:ui="http://schemas.modernwpf.com/2019">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ui:ThemeResources />
                <ui:XamlControlsResources />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

See the wiki for more information.

Screenshots

Overview of controls (dark theme)

Control palette

NumberBox

Calendar

Progress controls