MahApps.Metro 1.0.0

The goal of MahApps.Metro is to allow devs to quickly and easily cobble together a "Metro" or "Modern" UI for their WPF4+ apps, with minimal effort.

There is a newer version of this package available.
See the version list below for details.
Install-Package MahApps.Metro -Version 1.0.0
dotnet add package MahApps.Metro --version 1.0.0
<PackageReference Include="MahApps.Metro" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MahApps.Metro --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MahApps.Metro, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MahApps.Metro as a Cake Addin
#addin nuget:?package=MahApps.Metro&version=1.0.0

// Install MahApps.Metro as a Cake Tool
#tool nuget:?package=MahApps.Metro&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

# Notes

This is the first stable release of MahApps.Metro.

We removed everything marked as obsolete and made some API changes, but from now on MahApps.Metro follows Semantic Versioning, at least API wise. Please note that minor visual changes can still occur if there's a need for them.

A migration guide for the breaking changes is available here: https://github.com/MahApps/MahApps.Metro/blob/master/docs/v1.0-Migration-Guide.md

# Features

- Added a StatusBar and StatusBarItem style #1558
- Added the `TitleVisibility` and `CloseButtonVisibility` properties to the flyouts to control the visibility of the header.
- Added the `ButtonHelper.PreserveTextCase` attached property to control the automatic upper and lower casing of certain buttons. #1622
- If an .ico file contains multiple icon sizes, `MetroWindow` now automatically selects the optimal icon size. #1242 #1628
- `ShowMetroDialogAsync` now accepts `MetroDialogSettings` as argument so custom dialogs derived from the `CustomDialog` class can have a fade-in and fade-out animation
- The `ToggleSwitch` control can now be dragged with the mouse to change the enabled state #1652 #1595
- The `CleanWindow`'s close button now has a red background when hovering with the mouse.

# Changes

- The `IsOpenChangedEvent` of the `Flyout` control is now a routed event
- The animation of the `Flyout` control matches the Windows 8 flyout behavior more closely #1460
- Changed the event names of the 'NumericUpDown' control control #1518
- Split up the `ControlsHelper` class into multiple more granular helper classes #1520 #1582
- `SimpleDialog` has been renamed to `CustomDialog` #1613
- `BaseMetroDialog` now inherits from `ContentControl` instead of `Control`.
 The `DialogBody` property has effectively been replaced by the `Content` property. #1615
- All elements in the titlebar now use the `IdealForegroundBrush` for a better contrast to the accent color. #1611
- The text in dialog buttons isn't lowercase by default anymore.
- Eliminated the need to pass the owning `BaseMetroTabControl` to `MetroTabItem` #1624
- `TextBoxHelper` is now written with an uppercase `B` to match `TextBox`.

# Bugfixes

- Fixed the `TabItem` close button requiring MahApps.Metro.Resources #1524
- Fixed the ClearType partially not working #1537
- Fixed flyouts closing when clicking on a formatting element #1487 #1508
- Fixed potential deadlocks when unloading the AppDomain #1584
- Fixed bad Combobox behaviour (Popup dropdown height) with new items #1521
- Fixed not showing window commands and buttons if a flyout is open by default #1627
- Fixed closing a tab doesn't work under specific circumstances #1639
- Fixed the `ToggleSwitch` control not respecting the height and width properties. #1652 #1466
- Fixed `MetroProgressBar` System.Windows.Media.Animation Warning 6 #1664
- Fixed opening animation of dynamically created flyouts #1665 #1655
- Fixed `WindowSettings` SaveWindowPosition saves to position 0,0 if window not shown #1671 #1672
- Fixed memory leak and exception with dynamically created Flyouts (mostly happens with Caliburn) #1681
- Fixed the focus border not showing up for message dialog buttons #1679 #1684
- Fixed the automatic focus for dialogs #1679 #1684
- Fixed blurry contextmenu/menu and menu items #1674 #1685

Dependencies

This package has no dependencies.

NuGet packages (88)

Showing the top 5 NuGet packages that depend on MahApps.Metro:

Package Downloads
MahApps.Metro.Resources
"loose" file XAML Resource for Metro UI's. All icons taken from "Modern UI Icons" created by Austin Andrews http://modernuiicons.com https://github.com/Templarian/WindowsIcons
MaterialDesignThemes.MahApps
ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library.
Orchestra.Shell.MahApps
Orchestra shell using MahApps.Metro library.
Dapplo.CaliburnMicro.Metro
Dapplo.CaliburnMicro.Metro adds a IWindowManager for MahApps MetroWindow support to Dapplo.CaliburnMicro
MahApps.Metro.SimpleChildWindow
A simple child window for MahApps.Metro (A toolkit for creating Metro / Modern UI styled WPF apps).

GitHub repositories (110)

Showing the top 5 popular GitHub repositories that depend on MahApps.Metro:

Repository Stars
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
reactiveui/ReactiveUI
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
Live-Charts/Live-Charts
Simple, flexible, interactive & powerful charts, maps and gauges for .Net
HearthSim/Hearthstone-Deck-Tracker
A deck tracker and deck manager for Hearthstone on Windows
accord-net/framework
Machine learning, computer vision, statistics and general scientific computing for .NET

Version History

Version Downloads Last updated
2.4.5 4,409 4/20/2021
2.4.4 24,762 2/28/2021
2.4.3 42,252 12/6/2020
2.4.2 938 12/4/2020
2.4.1 5,834 12/1/2020
2.4.0 3,093 11/29/2020
2.3.4 16,904 11/7/2020
2.3.3 9,877 10/31/2020
2.3.2 7,938 10/28/2020
2.3.1 3,126 10/24/2020
2.3.0 12,075 10/21/2020
2.2.0 57,911 8/4/2020
2.1.1 23,749 7/2/2020
2.1.0 10,039 6/23/2020
2.0.1 47,218 6/4/2020
2.0.0 37,504 5/24/2020
1.6.5 640,088 6/19/2018
1.6.4 49,972 5/14/2018
1.6.3 3,559 5/11/2018
1.6.2 12,767 4/30/2018
1.6.1 62,374 3/13/2018
1.6.0 54,758 2/15/2018
1.5.0 487,125 4/13/2017
1.4.3 100,210 2/2/2017
1.4.2 5,294 1/30/2017
1.4.1 73,663 1/5/2017
1.4.0 14,554 12/22/2016
1.3.0 108,182 9/23/2016
1.2.4 233,470 1/21/2016
1.2.3 12,306 1/16/2016
1.2.2 6,190 1/12/2016
1.2.0 17,096 12/31/2015
1.1.2 357,636 3/1/2015
1.1.1 4,553 2/25/2015
1.1.0 1,765 2/24/2015
1.0.0 72,645 12/2/2014
0.14.0 62,602 8/19/2014
0.13.1 56,459 4/11/2014
0.13.0 1,902 4/10/2014
0.12.1 15,148 2/1/2014
0.12.0 2,930 1/16/2014
0.11.0 8,783 11/23/2013
0.10.1.1 43,855 3/24/2013
0.10.0.1 33,684 2/3/2013
0.10.0 10,908 10/18/2012
0.9.0 5,888 8/8/2012
0.8.0 5,466 5/8/2012
0.7.2 2,632 3/15/2012
0.7.1 1,277 3/12/2012
0.6.0.1 2,006 2/17/2012
0.6.0 1,191 2/17/2012
0.5.0 5,767 1/16/2012
0.4.0.17 1,665 1/6/2012
0.3.0.1 1,335 11/8/2011
0.3.0 1,303 11/7/2011
0.2.0 1,380 9/13/2011
0.1.0 3,478 9/13/2011
Show less