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.
No packages depend on MahApps.Metro.
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
MouseOverGlowEnabledtoFlipView - Back/Forward Buttons now enabled/disabled instead visible/or not
AreAnimationsEnabledproperty forFlyoutto show theFlyoutdirectly or with animationMaximumBodyHeightforMetroDialogSettings, so we can get aScrollViewerfor tall dialog contentIsMinButtonEnabled,IsMaxRestoreButtonEnabledandIsCloseButtonEnabledto enable/disable the window buttons atWindowButtonCommands@romerod #1562IdealForegroundDisabledBrushto set the foreground for disabled window buttons atWindowButtonCommands#1581MetroWindowanimates 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
TabstripPlacementproperty ofTabControl. (ControlsHelper.IsUnderlined) #1737 #1478 - It's now possible to upgrade the
WindowPlacementSettingson version change (minor breaking change) #1787 #1736 - New property
ShowSeparatorsfor WindowCommands, so it's possible to hide theWindowCommandsseperators MetroTabItemnow supports theTabControlHelper.IsUnderlinedattached property #1795 #1796- Flyout focus enhancement #1805
It's now possible to setFocusedElementandAllowFocusElementto enable focusing mechanism- If
AllowFocusElementis set toTruetheFlyouttries to focus the first focusable element, if there is no focusable element, it tries to focus an element in the header section. - If
FocusedElementis set theFlyoutfocus this element.
- If
- Better default CapsLock icon for
PasswordBoxSHA - Add a callback for
ShowIconOnTitleBar#1810, so we can hide the icon e.g. after window is loaded #1688 - New
CornerRadiuisproperty forMetroButtonandToggleButtonstyle SHA, SHA, SHA
Changes
- Simplify styles (backwards-compatible changes and fixes, e.g. disabled style) for
PasswordBox,TextBox,DatePicker,CheckBox,RadioButton,SquareButton,MetroButton,ToggleButton,ComboBox,ComboBoxItem - Use
IdealForegroundColorforAccentSelectedColorBrush(for better results inListBox,ListView,DataGridandComboBox)
Bugfixes
- Fixed maximize button path only displays partially when using SaveWindowPosition #1580 #1693
- Fixed background of ComboBox #1713
- Use
UseLayoutRoundingforMetroWindowfor better pixel stuff SHA - Fixed ideal foreground for some color styles #1748
- Fixed disabled window buttons foreground (and add
IdealForegroundDisabledBrushto handle this) #1581 - Fixed wrong max/restore button tool tip when maximized SHA
- 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
UseNoneWindowStyleSHA - Fixed foreground color of WindowComands and WindowButtonCommands #1788 #1503
- Fixed PasswordBox with
ClearTextButtondoesnt 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
PasswordBoxSHA andDatePickerSHA - Fixed disabled
ComboBoxstyle (looks now like other controls) SHA - Fixed disabled
DatePickerstyle and wrong showing watermark SHA - 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
This package has no dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 3.0.0-rc0529 | 2 | 11/18/2025 |
| 3.0.0-rc0525 | 1 | 11/18/2025 |
| 3.0.0-rc0516 | 2 | 11/18/2025 |
| 3.0.0-alpha0513 | 2 | 11/18/2025 |
| 3.0.0-alpha0492 | 2 | 11/18/2025 |
| 3.0.0-alpha0490 | 2 | 11/18/2025 |
| 3.0.0-alpha0476 | 2 | 11/18/2025 |
| 3.0.0-alpha0457 | 2 | 11/18/2025 |
| 2.4.11 | 2 | 11/18/2025 |
| 2.4.10 | 2 | 11/18/2025 |
| 2.4.9 | 1 | 11/18/2025 |
| 2.4.8 | 1 | 11/18/2025 |
| 2.4.7 | 2 | 11/18/2025 |
| 2.4.6 | 2 | 11/18/2025 |
| 2.4.5 | 1 | 11/18/2025 |
| 2.4.4 | 2 | 11/18/2025 |
| 2.4.3 | 1 | 11/18/2025 |
| 2.4.2 | 2 | 11/18/2025 |
| 2.4.1 | 1 | 11/18/2025 |
| 2.4.0 | 2 | 11/18/2025 |
| 2.3.4 | 1 | 11/18/2025 |
| 2.3.3 | 1 | 11/18/2025 |
| 2.3.2 | 2 | 11/18/2025 |
| 2.3.1 | 2 | 11/18/2025 |
| 2.3.0 | 2 | 11/18/2025 |
| 2.2.0 | 2 | 11/18/2025 |
| 2.1.1 | 2 | 11/18/2025 |
| 2.1.0 | 1 | 11/18/2025 |
| 2.0.1 | 2 | 11/18/2025 |
| 2.0.0 | 2 | 11/18/2025 |
| 1.6.5 | 1 | 11/18/2025 |
| 1.6.4 | 2 | 11/18/2025 |
| 1.6.3 | 1 | 11/18/2025 |
| 1.6.2 | 2 | 11/18/2025 |
| 1.6.1 | 1 | 11/18/2025 |
| 1.6.0 | 2 | 11/18/2025 |
| 1.5.0 | 2 | 11/18/2025 |
| 1.4.3 | 2 | 11/18/2025 |
| 1.4.2 | 2 | 11/18/2025 |
| 1.4.1 | 2 | 11/18/2025 |
| 1.4.0 | 2 | 11/18/2025 |
| 1.3.0 | 2 | 11/18/2025 |
| 1.2.4 | 1 | 11/18/2025 |
| 1.2.3 | 1 | 11/18/2025 |
| 1.2.2 | 1 | 11/18/2025 |
| 1.2.0 | 1 | 11/18/2025 |
| 1.1.2 | 1 | 11/18/2025 |
| 1.1.1 | 1 | 11/18/2025 |
| 1.1.0 | 1 | 11/18/2025 |
| 1.0.0 | 2 | 11/18/2025 |
| 0.14.0 | 2 | 11/18/2025 |
| 0.13.1 | 2 | 11/18/2025 |
| 0.13.0 | 2 | 11/18/2025 |
| 0.12.1 | 2 | 11/18/2025 |
| 0.12.0 | 1 | 11/18/2025 |
| 0.11.0 | 2 | 11/18/2025 |
| 0.10.1.1 | 2 | 11/18/2025 |
| 0.10.0.1 | 2 | 11/18/2025 |
| 0.10.0 | 2 | 11/18/2025 |
| 0.9.0 | 1 | 11/18/2025 |
| 0.8.0 | 2 | 11/18/2025 |
| 0.7.2 | 1 | 11/18/2025 |
| 0.7.1 | 2 | 11/18/2025 |
| 0.6.0.1 | 1 | 11/18/2025 |
| 0.6.0 | 2 | 11/18/2025 |
| 0.5.0 | 2 | 11/18/2025 |
| 0.4.0.17 | 1 | 11/18/2025 |
| 0.3.0.1 | 2 | 11/18/2025 |
| 0.3.0 | 2 | 11/18/2025 |
| 0.2.0 | 2 | 11/18/2025 |
| 0.1.0 | 1 | 11/18/2025 |