MahApps.Metro 1.1.0

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 (133)

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

Package Downloads
MaterialDesignThemes.MahApps

ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library.

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

Orchestra.Shell.MahApps

Orchestra shell using MahApps.Metro library.

MahApps.Metro.SimpleChildWindow

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

Dapplo.CaliburnMicro.Metro

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

GitHub repositories (169)

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.
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
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
Version Downloads Last updated
3.0.0-alpha0513 1,906 10/22/2024
3.0.0-alpha0492 18,459 3/9/2024
3.0.0-alpha0490 1,297 2/26/2024
3.0.0-alpha0476 8,530 12/9/2023
3.0.0-alpha0457 33,570 5/9/2023
2.4.10 380,153 7/6/2023
2.4.9 935,531 10/15/2021
2.4.8 8,288 10/12/2021
2.4.7 140,456 7/1/2021
2.4.6 40,564 6/10/2021
2.4.5 64,133 4/20/2021
2.4.4 106,474 2/28/2021
2.4.3 146,609 12/6/2020
2.4.2 3,609 12/4/2020
2.4.1 13,983 12/1/2020
2.4.0 14,539 11/29/2020
2.3.4 41,878 11/7/2020
2.3.3 29,636 10/31/2020
2.3.2 13,660 10/28/2020
2.3.1 7,492 10/24/2020
2.3.0 42,970 10/21/2020
2.2.0 142,117 8/4/2020
2.1.1 113,160 7/2/2020
2.1.0 19,289 6/23/2020
2.0.1 80,449 6/4/2020
2.0.0 174,629 5/24/2020
1.6.5 1,346,388 6/19/2018
1.6.4 75,336 5/14/2018
1.6.3 7,041 5/11/2018
1.6.2 17,647 4/30/2018
1.6.1 123,198 3/13/2018
1.6.0 91,402 2/15/2018
1.5.0 727,251 4/13/2017
1.4.3 148,707 2/2/2017
1.4.2 10,065 1/30/2017
1.4.1 141,279 1/5/2017
1.4.0 24,152 12/22/2016
1.3.0 226,764 9/23/2016
1.2.4 332,289 1/21/2016
1.2.3 20,500 1/16/2016
1.2.2 14,080 1/12/2016
1.2.0 24,282 12/31/2015
1.1.2 461,856 3/1/2015
1.1.1 9,918 2/25/2015
1.1.0 5,340 2/24/2015
1.0.0 92,835 12/2/2014
0.14.0 88,494 8/19/2014
0.13.1 77,331 4/11/2014
0.13.0 4,867 4/10/2014
0.12.1 19,085 2/1/2014
0.12.0 6,044 1/16/2014
0.11.0 12,074 11/23/2013
0.10.1.1 72,768 3/24/2013
0.10.0.1 50,832 2/3/2013
0.10.0 21,849 10/18/2012
0.9.0 8,889 8/8/2012
0.8.0 18,113 5/8/2012
0.7.2 5,358 3/15/2012
0.7.1 4,007 3/12/2012
0.6.0.1 4,750 2/17/2012
0.6.0 4,005 2/17/2012
0.5.0 11,296 1/16/2012
0.4.0.17 4,480 1/6/2012
0.3.0.1 4,145 11/8/2011
0.3.0 4,006 11/7/2011
0.2.0 4,118 9/13/2011
0.1.0 11,284 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)