MahApps.Metro 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.

There is a newer version of this package available.
See the version list below for details.
Install-Package MahApps.Metro -Version 1.1.0
dotnet add package MahApps.Metro --version 1.1.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

# 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)

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 232 10/14/2019
2.0.0-alpha0490 1,624 9/25/2019
2.0.0-alpha0479 1,417 9/8/2019
2.0.0-alpha0455 4,407 7/26/2019
2.0.0-alpha0409 2,415 7/17/2019
2.0.0-alpha0408 185 7/17/2019
2.0.0-alpha0391 2,598 6/13/2019
2.0.0-alpha0316 2,474 5/14/2019
2.0.0-alpha0312 1,037 5/7/2019
2.0.0-alpha0262 4,873 3/8/2019
2.0.0-alpha0261 441 2/28/2019
2.0.0-alpha0212 3,261 1/18/2019
2.0.0-alpha0186 1,763 12/19/2018
2.0.0-alpha0170 841 12/11/2018
2.0.0-alpha0121 2,279 11/17/2018
2.0.0-alpha0105 857 11/5/2018
2.0.0-alpha0095 1,499 10/3/2018
2.0.0-alpha0083 1,077 9/25/2018
2.0.0-alpha0081 391 9/23/2018
1.6.5 259,271 6/19/2018
1.6.4 35,555 5/14/2018
1.6.3 2,493 5/11/2018
1.6.2 10,657 4/30/2018
1.6.1 46,393 3/13/2018
1.6.0 28,878 2/15/2018
1.5.0 365,387 4/13/2017
1.4.3 69,026 2/2/2017
1.4.2 4,546 1/30/2017
1.4.1 42,508 1/5/2017
1.4.0 10,024 12/22/2016
1.3.0 79,093 9/23/2016
1.2.4 193,818 1/21/2016
1.2.3 10,034 1/16/2016
1.2.2 5,484 1/12/2016
1.2.0 14,947 12/31/2015
1.1.2 292,190 3/1/2015
1.1.1 4,002 2/25/2015
1.1.0 1,246 2/24/2015
1.0.0 65,284 12/2/2014
0.14.0 56,461 8/19/2014
0.13.1 48,915 4/11/2014
0.13.0 1,377 4/10/2014
0.12.1 14,292 2/1/2014
0.12.0 2,447 1/16/2014
0.11.0 8,014 11/23/2013
0.10.1.1 36,088 3/24/2013
0.10.0.1 23,107 2/3/2013
0.10.0 7,469 10/18/2012
0.9.0 5,326 8/8/2012
0.8.0 4,927 5/8/2012
0.7.2 2,148 3/15/2012
0.7.1 825 3/12/2012
0.6.0.1 1,545 2/17/2012
0.6.0 736 2/17/2012
0.5.0 5,213 1/16/2012
0.4.0.17 1,239 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,254 9/13/2011
Show less