- Notifications
You must be signed in to change notification settings - Fork477
Modern styles and controls for your WPF applications
License
NotificationsYou must be signed in to change notification settings
Kinnara/ModernWpf
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Modern styles and controls for your WPF applications.
Modern styles and new features forthe majority of the stock WPF controls.
Light and dark themes that can be easily customized. A high contrast theme is also included.
Additional controls to help you build modern applications. Some are ported from theWindows UI Library.
Targets .NET Framework 4.5+, .NET Core 3+, and .NET 5+. Runs on Windows Vista SP2 and above.
Create a new WPF app.
Install from NuGet
Install-Package ModernWpfUI.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>
- Edit MainWindow.xaml to following:
<Window ...xmlns:ui="http://schemas.modernwpf.com/2019" ui:WindowHelper.UseModernWindowStyle="True"> <ui:SimpleStackPanelMargin="12"Spacing="24"> <TextBlockText="My first ModernWPF app"Style="{StaticResource HeaderTextBlockStyle}" /> <ButtonContent="I am a button" /> <ButtonContent="I am an accent button"Style="{StaticResource AccentButtonStyle}" /> </ui:SimpleStackPanel></Window>
- Seethe wiki for more information.
| NuGet Package | Latest Versions |
|---|---|
| ModernWpfUI | |
| ModernWpfUI.MahApps |
About
Modern styles and controls for your WPF applications
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published














