MahApps.Metro 1.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package MahApps.Metro --version 1.1.0
NuGet\Install-Package MahApps.Metro -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MahApps.Metro" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MahApps.Metro --version 1.1.0
#r "nuget: MahApps.Metro, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.1.0

// Install MahApps.Metro as a Cake Tool
#tool nuget:?package=MahApps.Metro&version=1.1.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.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (124)

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

Package Downloads
MahApps.Metro.Resources The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

"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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Orchestra shell using MahApps.Metro library.

Dapplo.CaliburnMicro.Metro The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Dapplo.CaliburnMicro.Metro adds a IWindowManager for MahApps MetroWindow support to Dapplo.CaliburnMicro

MahApps.Metro.SimpleChildWindow The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A simple child window for MahApps.Metro (A toolkit for creating Metro / Modern UI styled WPF apps).

GitHub repositories (160)

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
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
Version Downloads Last updated
3.0.0-alpha0492 2,637 3/9/2024
3.0.0-alpha0490 1,115 2/26/2024
3.0.0-alpha0476 6,887 12/9/2023
3.0.0-alpha0457 27,541 5/9/2023
2.4.10 173,965 7/6/2023
2.4.9 770,572 10/15/2021
2.4.8 7,385 10/12/2021
2.4.7 132,310 7/1/2021
2.4.6 39,339 6/10/2021
2.4.5 60,450 4/20/2021
2.4.4 101,188 2/28/2021
2.4.3 133,822 12/6/2020
2.4.2 3,529 12/4/2020
2.4.1 13,623 12/1/2020
2.4.0 13,103 11/29/2020
2.3.4 39,929 11/7/2020
2.3.3 28,796 10/31/2020
2.3.2 13,509 10/28/2020
2.3.1 7,345 10/24/2020
2.3.0 42,395 10/21/2020
2.2.0 132,670 8/4/2020
2.1.1 96,078 7/2/2020
2.1.0 18,521 6/23/2020
2.0.1 77,712 6/4/2020
2.0.0 144,809 5/24/2020
1.6.5 1,247,060 6/19/2018
1.6.4 73,266 5/14/2018
1.6.3 6,930 5/11/2018
1.6.2 17,318 4/30/2018
1.6.1 114,403 3/13/2018
1.6.0 87,013 2/15/2018
1.5.0 696,478 4/13/2017
1.4.3 142,613 2/2/2017
1.4.2 9,882 1/30/2017
1.4.1 129,707 1/5/2017
1.4.0 23,573 12/22/2016
1.3.0 193,301 9/23/2016
1.2.4 318,237 1/21/2016
1.2.3 18,839 1/16/2016
1.2.2 12,319 1/12/2016
1.2.0 23,312 12/31/2015
1.1.2 449,677 3/1/2015
1.1.1 9,530 2/25/2015
1.1.0 5,268 2/24/2015
1.0.0 90,138 12/2/2014
0.14.0 84,017 8/19/2014
0.13.1 75,047 4/11/2014
0.13.0 4,802 4/10/2014
0.12.1 18,650 2/1/2014
0.12.0 5,887 1/16/2014
0.11.0 11,925 11/23/2013
0.10.1.1 62,427 3/24/2013
0.10.0.1 48,965 2/3/2013
0.10.0 15,384 10/18/2012
0.9.0 8,564 8/8/2012
0.8.0 16,547 5/8/2012
0.7.2 5,289 3/15/2012
0.7.1 3,965 3/12/2012
0.6.0.1 4,703 2/17/2012
0.6.0 3,922 2/17/2012
0.5.0 11,178 1/16/2012
0.4.0.17 4,435 1/6/2012
0.3.0.1 4,096 11/8/2011
0.3.0 3,945 11/7/2011
0.2.0 4,071 9/13/2011
0.1.0 10,305 9/13/2011

# Notes

This is a bug fix and fetaure release of MahApps.Metro.

# Features

- It's now possible to get an opened dialog from a MetroWindow #1739
- Allow the user to disable the window dragging #1669
- Dialogs can now use the `ColorScheme = MetroDialogColorScheme.Inverted`
- Add `MouseOverGlowEnabled` to `FlipView`
- Back/Forward Buttons now enabled/disabled instead visible/or not
- `AreAnimationsEnabled` property for `Flyout` to show the `Flyout` directly or with animation
- `MaximumBodyHeight` for `MetroDialogSettings`, so we can get a `ScrollViewer` for tall dialog content
- `IsMinButtonEnabled`, `IsMaxRestoreButtonEnabled` and `IsCloseButtonEnabled` to enable/disable the window buttons at `WindowButtonCommands` @romerod #1562
- `IdealForegroundDisabledBrush` to set the foreground for disabled window buttons at `WindowButtonCommands` #1581
- `MetroWindow` animates now on minimize/maximize/restore window action (limited by ignoring the taskbar) #1756
- It's now possible to put the MahApps styles only in a window and the main app will remain unaffected (all buttons and commands will be styled as good as well.) #1777
- The underline position is based on `TabstripPlacement` property of `TabControl`. (`ControlsHelper.IsUnderlined`) #1737 #1478
- It's now possible to upgrade the `WindowPlacementSettings` on version change (minor breaking change) #1787 #1736
- New property `ShowSeparators` for WindowCommands, so it's possible to hide the `WindowCommands` seperators
- `MetroTabItem` now supports the `TabControlHelper.IsUnderlined` attached property #1795 #1796
- Flyout focus enhancement #1805  
It's now possible to set `FocusedElement` and `AllowFocusElement` to enable focusing mechanism
 + If `AllowFocusElement` is set to `True` the `Flyout` tries to focus the first focusable element, if there is no focusable element, it tries to focus an element in the header section.
 + If `FocusedElement` is set the `Flyout` focus this element.
- Better default CapsLock icon for `PasswordBox` [SHA](https://github.com/MahApps/MahApps.Metro/commit/709abc49abb575017a8bb660bc129656172824b5)
- Add a callback for `ShowIconOnTitleBar` #1810, so we can hide the icon e.g. after window is loaded #1688
- New `CornerRadiuis` property for `MetroButton` and `ToggleButton` style [SHA](https://github.com/MahApps/MahApps.Metro/commit/efdc5f8e57a3b85d81969bd04dc7ff27e199e9ea), [SHA](https://github.com/MahApps/MahApps.Metro/commit/d4ff9da467533eeee6959fe2ed3cf4755ce852ec), [SHA](https://github.com/MahApps/MahApps.Metro/commit/cd31273b5005d950b0725684ecf193f3e19c6319)

# Changes
- Simplify styles (backwards-compatible changes and fixes, e.g. disabled style) for `PasswordBox`, `TextBox`, `DatePicker`, `CheckBox`, `RadioButton`, `SquareButton`, `MetroButton`, `ToggleButton`, `ComboBox`, `ComboBoxItem`
- Use `IdealForegroundColor` for `AccentSelectedColorBrush` (for better results in `ListBox`, `ListView`, `DataGrid` and `ComboBox`)

# Bugfixes

- Fixed maximize button path only displays partially when using SaveWindowPosition #1580 #1693
- Fixed background of ComboBox #1713
- Use `UseLayoutRounding` for `MetroWindow` for better pixel stuff [SHA](https://github.com/MahApps/MahApps.Metro/commit/b3c19573ba52847aa42fe1c0ff3ef064e8d9ba17)
- Fixed ideal foreground for some color styles #1748
- Fixed disabled window buttons foreground (and add `IdealForegroundDisabledBrush` to handle this) #1581
- Fixed wrong max/restore button tool tip when maximized [SHA](https://github.com/MahApps/MahApps.Metro/commit/4a1a8f91c6588c034a6e5ef3fac64e4eacce6845)
- Fixed wrong window size while moving maximized window between monitors #1275
- Fixed the cursor of the button in the `ProgressDialog` #1763
- Fixed text wrapping for MessageDialog Message #1776 #1766
- Fixed missing behavior when toggle `UseNoneWindowStyle` [SHA](https://github.com/MahApps/MahApps.Metro/commit/c1d36f5eb4b22cea92383c256f4c1102141696ce)
- Fixed foreground color of WindowComands and WindowButtonCommands #1788 #1503
- Fixed PasswordBox with `ClearTextButton` doesnt show the button #1718
- Fixed wrong text for buttons in dialogs (it's now preserve by default) #1793 #1755
- Fixed usage of ClearTextButton: Subscribe to clear button even if control is already loaded. #1764 #1797
- Fixed SplitButton SelectedIndex and SelectedItem (binds now two way by default) #1798
- Fixed losing Window shadow [EnableDWMDropShadow] #1791 #1799
- Fixed alignment of decrement button on vertical scrollbars #1800
- Fixed non working button click action with `TextboxHelper.ClearTextButton="True"` after visibilty change #1268 #1809
- Fixed CaretBrush after theme changed for `PasswordBox` [SHA](https://github.com/MahApps/MahApps.Metro/commit/a5808a1c1e0272e38f57f69c1d5cb5a1ee9dfca8) and `DatePicker` [SHA](https://github.com/MahApps/MahApps.Metro/commit/74ff36001e92a722b65f532c4c651e48d653b4a9)
- Fixed disabled `ComboBox` style (looks now like other controls) [SHA](https://github.com/MahApps/MahApps.Metro/commit/97fa00f0f7588f6f6b63ec33bd9144d431d827d1)
- Fixed disabled `DatePicker` style and wrong showing watermark [SHA](https://github.com/MahApps/MahApps.Metro/commit/96c23f54385d31e4492cb149446242cfdafe02da)
- Fixed wrong WindowPlacement saving with Border snaps #1811 #1814
- Fixed color disappearing for DataGrid selection #1728 #1816
- Fixed FocusVisualStyle in Flyouts (surround Flyout content with AdornerDecorator) [SHA](https://github.com/MahApps/MahApps.Metro/commit/dc58b92f815484de8866d4af608fad22b699047d)