Skip to content

Modern styles and controls for your WPF applications

License

Notifications You must be signed in to change notification settings

pipeline-foundation/ModernWpf

This branch is up to date with Kinnara/ModernWpf:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

83ecedc · Mar 21, 2024
Jul 9, 2022
Mar 21, 2024
Nov 17, 2023
Jul 10, 2022
Mar 21, 2024
Sep 21, 2020
Apr 30, 2020
Jun 18, 2022
Mar 14, 2024
Jun 18, 2022
May 29, 2022
Oct 18, 2019
Feb 17, 2020
Jul 10, 2022
Jun 25, 2022
Oct 18, 2019
May 29, 2022
Jul 9, 2022
Apr 8, 2020

Repository files navigation

ModernWPF UI Library

Gitter

Modern styles and controls for your WPF applications.

Features

Overview of controls (light theme)

Quick start

  1. Create a new WPF app.

  2. Install from NuGet Install-Package ModernWpfUI.

  3. Edit App.xaml to following:

<Application
    ...
    xmlns:ui="http://schemas.modernwpf.com/2019">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ui:ThemeResources />
                <ui:XamlControlsResources />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
  1. Edit MainWindow.xaml to following:
<Window
    ...
    xmlns:ui="http://schemas.modernwpf.com/2019"
    ui:WindowHelper.UseModernWindowStyle="True">
    <ui:SimpleStackPanel Margin="12" Spacing="24">
        <TextBlock Text="My first ModernWPF app" Style="{StaticResource HeaderTextBlockStyle}" />
        <Button Content="I am a button" />
        <Button Content="I am an accent button" Style="{StaticResource AccentButtonStyle}" />
    </ui:SimpleStackPanel>
</Window>
  1. See the wiki for more information.

Packages

NuGet Package Latest Versions
ModernWpfUI latest stable version
latest prerelease version
ModernWpfUI.MahApps latest stable version
latest prerelease version

Screenshots

Overview of controls (dark theme)

Control palette

Easily customize colors

NumberBox

ContentDialog

DataGrid

ItemsRepeater

Custom title bar

Calendar

Menu

Progress controls

Color ramp

Accent color palette

High contrast mode

About

Modern styles and controls for your WPF applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%