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.

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.

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

Repository Stars
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.
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes
HearthSim/Hearthstone-Deck-Tracker
A deck tracker and deck manager for Hearthstone on Windows
Live-Charts/Live-Charts
Simple, flexible, interactive & powerful charts, maps and gauges for .Net
accord-net/framework
Machine learning, computer vision, statistics and general scientific computing for .NET
RolandPheasant/TailBlazer
A modern file tail utility based on Rx.Net which show cases reactive programming and Dynamic Data (see https://github.com/RolandPheasant/DynamicData)
greenshot/greenshot
Greenshot for Windows - Report bugs & features go here: https://greenshot.atlassian.net or look for information on:
bitbeans/SimpleDnsCrypt
A simple management tool for dnscrypt-proxy
ButchersBoy/Dragablz
Dragable and tearable tab control for WPF
fluentribbon/Fluent.Ribbon
WPF Ribbon control like in Office

Version History

Version Downloads Last updated
2.0.0-alpha0531 540 10/14/2019
2.0.0-alpha0490 1,713 9/25/2019
2.0.0-alpha0479 1,431 9/8/2019
2.0.0-alpha0455 4,532 7/26/2019
2.0.0-alpha0409 2,439 7/17/2019
2.0.0-alpha0408 185 7/17/2019
2.0.0-alpha0391 2,605 6/13/2019
2.0.0-alpha0316 2,486 5/14/2019
2.0.0-alpha0312 1,041 5/7/2019
2.0.0-alpha0262 4,886 3/8/2019
2.0.0-alpha0261 441 2/28/2019
2.0.0-alpha0212 3,264 1/18/2019
2.0.0-alpha0186 1,767 12/19/2018
2.0.0-alpha0170 842 12/11/2018
2.0.0-alpha0121 2,293 11/17/2018
2.0.0-alpha0105 860 11/5/2018
2.0.0-alpha0095 1,504 10/3/2018
2.0.0-alpha0083 1,079 9/25/2018
2.0.0-alpha0081 393 9/23/2018
1.6.5 261,944 6/19/2018
1.6.4 35,902 5/14/2018
1.6.3 2,500 5/11/2018
1.6.2 10,694 4/30/2018
1.6.1 46,567 3/13/2018
1.6.0 29,045 2/15/2018
1.5.0 366,355 4/13/2017
1.4.3 69,178 2/2/2017
1.4.2 4,556 1/30/2017
1.4.1 42,572 1/5/2017
1.4.0 10,053 12/22/2016
1.3.0 79,347 9/23/2016
1.2.4 194,125 1/21/2016
1.2.3 10,040 1/16/2016
1.2.2 5,485 1/12/2016
1.2.0 14,962 12/31/2015
1.1.2 293,084 3/1/2015
1.1.1 4,003 2/25/2015
1.1.0 1,250 2/24/2015
1.0.0 65,312 12/2/2014
0.14.0 56,492 8/19/2014
0.13.1 48,986 4/11/2014
0.13.0 1,382 4/10/2014
0.12.1 14,297 2/1/2014
0.12.0 2,450 1/16/2014
0.11.0 8,018 11/23/2013
0.10.1.1 36,107 3/24/2013
0.10.0.1 23,149 2/3/2013
0.10.0 7,477 10/18/2012
0.9.0 5,327 8/8/2012
0.8.0 4,929 5/8/2012
0.7.2 2,148 3/15/2012
0.7.1 826 3/12/2012
0.6.0.1 1,546 2/17/2012
0.6.0 737 2/17/2012
0.5.0 5,215 1/16/2012
0.4.0.17 1,240 1/6/2012
0.3.0.1 897 11/8/2011
0.3.0 852 11/7/2011
0.2.0 924 9/13/2011
0.1.0 2,257 9/13/2011
Show less