Releases: MahApps/MahApps.Metro
MahApps.Metro v2.0.0
As part of this release we had 894 commits which resulted in 298 issues being closed.
Breaking Changes
- #3808 Fix RangeSlider Upper/Lower value coercion and value changed events
- #3796 (GH-3587) Last changes to Styles, Themes and Templates
- #3771 Switching to ThemeManager from ControlzEx
- #3756 UWP like ToggleSwitch
- #3753 Remove old ToggleSwitch and replace with UWP like ToggleSwitch
- #3747 Subsequent changes to Brushes and Colors (#3552)
- #3743 Improve ToolbarButtonStyle
- #3724 Adding all target frameworks for showcase and tests
- #3723 Changing blue color scheme to blue
- #3697 Moved attached properties related to Header under HeaderedControlHelper
- #3689 Publish explicit WindowCommand controls styles
- #3682 Share watermark text message storyboards
- #3679 Fix padding for input controls
- #3678 Handle NumericUpDown percentage StringFormat correctly
- #3675 Fix SplitButton contents disappearing on subsequent clicks
- #3672 Improve DataGrid column styling
- #3666 Fix theme based styling for WindowCommands and WindowButtonCommands
- #3649 Updates MA.M font namespaces to be more uniform
- #3636 Rename GroupBoxHelper to HeaderedControlHelper and introduced a new AttachedProperty HeaderBackground
- #3585 Brush Naming Conventions
- #3584 Font Naming Convention
- #3583 Renamed SemiTransparentGrey to SemiTransparentGray
- #3575 Themes.xaml --> Sould it be Gray or Grey?
- #3560 (GH-2384) Subsequent change after #3552 Update colors names
- #3557 (GH-2384) Subsequent changes after #3552 Update resource names
- #3552 [GH-2384] Update resource names
- #3514 Use TabControlEx from ControlzEx as base class for BaseMetroTabControl
- #3511 Change window commands overlay behavior after title bar changes (GH-3503)
- #3503 Improvement for title bar and window commands
- #3483 (GH-3040) Fix grouping virtualization for DataGrid (ItemsControls)
- #3480 Fix for typo behaviours (which should be behaviors)
- #3440 Add DataTemplates for range slider auto tool tip values
- #3416 Change Dialog Button Styles
- #3402 Use Microsoft.Xaml.Behaviors.Wpf instead the System.Windows.Interactivity
- #3400 Use Microsoft.Xaml.Behaviors.Wpf instead the System.Windows.Interactivity
- #3396 Remove obsolete Styles and Templates
- #3395 Remove obsolete Styles and Templates
- #3350 Read available themes from assembly
- #3339 StrongName signed assembly? Hey, it's 2018...
- #3334 Use ControlzEx v4.0 WindowChromeBehavior and GlowWindowBehavior
- #3324 HamburgerMenu changes
- #3317 Drop .NET40
- #3310 Styling of buttons within a BaseMetroDialog should be facilitated
- #3307 ListView default border only on top
- #3296 Using XamlColorSchemeGenerator to generate themes and merging AppTheme and Accent to Theme
- #3292 MahApps.Metro.Demo Build issue
- #3254 (GH-2763) DateTime instead TimeSpan for DateTimePicker/TimePicker
- #3251 (GH-2289) Rename TitlebarHeight to TitleBarHeight
- #3247 Remove obsolete marked code like properties and classes
- #3136 Checkbox colors on dark theme arent good
- #3041 Should we drop the .Net 4 support?
- #3040 DataGrid virtualization broken when grouping activated
- #2989 DemoNET40 Crashed in windows 7 with .net framework 4.0
- #2784 Use DataTemplate in RangeSlider instead of a Converter (AutoToolTipContentTemplate)
- #2763 [Breaking change] DateTimePicker/TimePicker now using DateTime?
- #2384 MahApps.Metro consistent style and template names/keys
- #2289 Rename TitlebarHeight to TitleBarHeight
Bugs
- #3807 Dynamic flyouts are not shown when animated
- #3803 Expander with a nested expander
- #3799 Calendar doesn't show inactive days
- #3798 Range Slider Upper/Lower value coercion
- #3779 Error on ThemeManager.Current.DetectTheme
- #3770 MahApps 2.0 ToggleSwitch and Coded UI Missing InOn/IsChecked State Property
- #3765 TabControl is always the last one to receive focus when using Tab key navigation
- #3757 WindowCommands does not pass focus to the next control on tab-key
- #3746 DateTimePicker changes date to 1/1/0001 when selecting time first
- #3741 Unable to change Style of ToolbarButton
- #3738 metrowindow topmost property binding issue
- #3720 When using TiltBehavior, color and Theme change does not work
- #3713 Element Overlapping With Window TitleBar Unclickable In TitleBar Area
- #3708 DataContext is not passed to UIElement in CustomDialog.DialogTop
- #3702 Error: Could not find an installer for the 'dotnet' scheme.
- #3690 Coded UI Testing Not Working with Multiple Toggle Switches
- #3671 Range slider thumbs are gone in .NET core 3
- #3667 Datagrid TextColumn does not get styled
- #3665 NumericUpDown decimal places replace with 0 in persian culture
- #3662 Can not enter negative number with negative exponent number with StringFormat set to "G" or "E"
- #3660 Animated Single Row Tab Control arrow icon is incorrect when setting flow direction right to left
- #3655 Invalid window control icons.
- #3647 Missing Combobox Scrollbars after adding Controls.AnimatedSingleRowTabControl.xaml to App.xaml
- [#3646](#3646...
MahApps.Metro 1.6.5
As part of this release we had 1 commit which resulted in 1 issue being closed.
Bug
- #3272 Wrong FileVersion and AssemblyVersion for v1.6.4
Where to get it
You can download this release from MahApps.Metro
MahApps.Metro 1.6.4
As part of this release we had 2 commits which resulted in 1 issue being closed.
Bug
Where to get it
You can download this release from MahApps.Metro
MahApps.Metro 1.6.3
As part of this release we had 7 commits which resulted in 3 issues being closed.
Bugs
- #3244 RightWindowCommands no more visible when ShowTitleBar is False
- #3240 Fix for Track's height in FlatSlider style
- #3238 FlatSlider height not working
Where to get it
You can download this release from MahApps.Metro
MahApps.Metro 1.6.2
As part of this release we had 29 commits which resulted in 7 issues being closed.
Bugs
- #3231 (GH-3227) Fix for ThemeManager: dynamic accents only work once
- #3230 (GH-3212) Fix Background hit testing for inactive ProgressRing
- #3227 ThemeManager: dynamic accents only work once
- #3225 (GH-3192) Fix setting ShowTitleBar
- #3212 ProgressRing does not collapse if IsActive="False"
- #3192 Wrong behavior with ShowTitleBar="False" in XAML control metrowindow settings
Where to get it
You can download this release from MahApps.Metro
MahApps.Metro 1.6.1
As part of this release we had 4 commits which resulted in 2 issues being closed.
Bugs
Where to get it
You can download this release from MahApps.Metro
MahApps.Metro 1.6.0
As part of this release we had 362 commits which resulted in 153 issues being closed.
Features / Changes / Improvements (most interesting)
- New:
MahApps.Metro.Styles.MetroWatermarkTextBlock
style to make it easier to set custom properties likeFontFamily
orFontSize
for all Watermarks. - New: Replacing
WindowChrome
and related things with reference toControlzEx
#3021 NumericUpDown
- New:
SnapToMultipleOfInterval
property forNumericUpDown
which indicates if theNumericUpDown
should round the value to the nearest possible interval when the focus moves to another element. #2952 @xxMUROxx - New:
NumericInputMode
property with the new flag enumerationNumericInput
(default isNumericInput.All
) - Mark
HasDecimals
as obsolete - Block scientific input if only numbers allowed
- Fix:
NumericUpDown
,HotKeyBox
andTimerPickerBase
doesn't focus for the first time when the FocusManager will be used.
- New:
- New: Changing popup border thickness and padding for
ComboBox
via resource keysComboBoxBorderThemeThickness
(default 1)ComboBoxPopupBorderThemeThickness
(default 1)ComboBoxPopupBorderThemePadding
(default 1)
- New: Changing the header padding for
GroupBox
andExpander
via resource keysGroupBoxHeaderThemePadding
(default 4)ExpanderHeaderThemePadding
(default 2)ExpanderToggleButtonEllipseThemeSize
(default 18)
- New:
Badged
control has now a different look when disabled. thx @xxMUROxx- New brush for light and dark themes:
MahApps.Metro.Brushes.Badged.DisabledBackgroundBrush
- New brush for light and dark themes:
Watermark
- Use
TextBoxHelper.Watermark
forHotKeyBox
instead own DependencyProperty (marked as obsolete). - Allow
TextBoxHelper.AutoWatermark
forHotKey
DependencyProperty ofHotKeyBox
. - New:
TextBoxHelper.WatermarkTrimming
attached property to set the text trimming behavior to employ when (floating) watermark overflows the content area. thx to @amkuchta - New:
TextBoxHelper.WatermarkWrapping
attached property (only forTextBox
) to set how the watermark should wrap text. Default is binded toTextWrapping
property. thx to @amkuchta
- Use
VS Theme
- New:
StandardGroupBox
style - New:
StandardExpander
style
- New:
TabControlHelper
- New:
TabControlHelper.CloseButtonEnabled
attached property to show / hide the close button (default is true). - New:
TabControlHelper.CloseTabCommand
attached property which executes if theTabItem
will be closed. - New:
TabControlHelper.CloseTabCommandParameter
attached property which will be passed to theCloseTabCommand
.
- New:
- New: Add
TextBoxHelper.ButtonsAlignment
support forPasswordBox
styles #3074 @waleswood - New:
MetroHeader
control which can contains any other content and can display a header on top of this content.
<Controls:MetroHeader Margin="2" Header="TextBox Header"> <Controls:MetroHeader.HeaderTemplate> <DataTemplate> <StackPanel VerticalAlignment="Center" Orientation="Horizontal"> <iconPacks:PackIconMaterial VerticalAlignment="Center" Kind="FaceProfile" /> <TextBlock Margin="2 0 0 0" VerticalAlignment="Center" Text="{Binding}" /> </StackPanel> </DataTemplate> </Controls:MetroHeader.HeaderTemplate> <TextBox Text="Enabled" /> </Controls:MetroHeader>
- New:
ScrollViewerHelper
class- New:
IsHorizontalScrollWheelEnabled
attached property. If it's set to true and a horizontalScrollBar
is visible then the mouse wheel scrolls to left and right. - Change:
VerticalScrollBarOnLeftSide
attached property fromScrollBarHelper
toScrollViewerHelper
. ScrollBarHelper is now marked as obsolete.
- New:
- New: Use
FlatButtonForegroundBrush
in the newMahApps.Metro.Styles.FlatButtonFocusVisualStyle
which is used now forMetroFlatButton
andMetroFlatToggleButton
PasswordBoxHelper
- New:
RevealButtonContent
andRevealButtonContentTemplate
attached properties - Set the
DefaultRevealButtonIcon
ContentControl toRevealButtonContent
attached property
- New:
- Change: Use the original Win 10 close button style
- New:
ItemHelper
class with someBrush
attached properties for mouse interaction. These properties can be used withHamburgerMenuItem
,ListBoxItem
,ListViewItem
,TreeViewItem
andComboBoxItem
.ItemHelper.ActiveSelectionBackgroundBrush
defaultAccentColorBrush
ItemHelper.ActiveSelectionForegroundBrush
defaultAccentSelectedColorBrush
ItemHelper.DisabledBackgroundBrush
defaultx:Null
ItemHelper.DisabledForegroundBrush
defaultGrayNormalBrush
ItemHelper.DisabledSelectedBackgroundBrush
defaultGrayBrush7
ItemHelper.DisabledSelectedForegroundBrush
defaultAccentSelectedColorBrush
ItemHelper.HoverBackgroundBrush
defaultAccentColorBrush3
ItemHelper.HoverSelectedBackgroundBrush
defaultAccentColorBrush
ItemHelper.SelectedBackgroundBrush
defaultAccentColorBrush2
ItemHelper.SelectedForegroundBrush
defaultAccentSelectedColorBrush
ToggleSwitch
- New:
ContentPadding
dependency property to change the padding of the inner content in an easy way.
- New:
HamburgerMenu
- Renaming (internal used styles):
HamburgerListBoxItemStyle
->HamburgerMenuItemStyle
HamburgerListBoxStyle
->HamburgerMenuListStyle
- Revert back to
UWPCommunityToolkit
style (update template to keep options visible)- Move template to
HamburgerMenuTemplate
resource dictionary - Add margins
- Vertically stretch the menu items of the hamburger menu
- Move template to
- Change inner ListBox scrolling (to CanContentScroll)
- New: Add
ItemContainerStyle
andOptionsItemContainerStyle
properties. This makes it easier to change the inner styles for the items (and option items) - MinHeight of the menu items should be
0
- Change:
HamburgerMenuImageItem
: Downgrade thumbnail property fromBitmapImage
to subclassImageSource
- New: Introduce
ItemInvoked
event (as an alternative toItemClick
andOptionsItemClick
) - New:
SelectionIndicator
(rectangle) which can be enabled with the newShowSelectionIndicator
dependency property- New: resource key
HamburgerMenuSelectionIndicatorThemeWidth
default6
- New: resource key
HamburgerMenuSelectionIndicatorThemeHeight
default24
- New: resource key
- Improved item
FocusVisualStyle
- Add new (readonly)
ItemFocusVisualStyle
dependency property which will be re-created if one of these properties are changed:OpenPaneLength
,CompactPaneLength
andIsPaneOpen
. Default template isHamburgerMenuItemFocusVisualTemplate
. - This FocusVisualStyle can be override at the
HamburgerMenuItem
style by setting theFocusVisualStyle
property.
- Add new (readonly)
- Change: Reorganize Hamburger sample: shows now Default style, Creators Update style and a sample with the MaterialDesignInXaml Ripple control
- Fix: Set a selected Item only if there is no content set
- Add
HamburgerMenu
resources to Control styles to allow style manipulation and fix binding expression infos - Fix:
PanePlacement
handling for right aligned - New: Add
ToolTip
DependencyProperty
forHamburgerMenuItem
- Renaming (internal used styles):
Dialogs
- New: Create new style for Dialogs
MahApps.Metro.Styles.MetroDialog
and set this as default - Add
BaseMetroDialog
resources to Control styles to allow easier dialog style manipulation - Fix: Do not load all MahApps styles in code behind again (this is not necessary anymore, since it's now at Style level too)
- Fix: Inverted Dialogs theme (the background wasn't correct)
- New: Add
ProgressDialogController.SetProgressBarForegroundBrush(Brush)
so that you can customize a progress dialog's progress bar foreground Brush.
- New: Create new style for Dialogs
MetroWindow
(Dialogs
)- Add a new (readonly)
IsAnyDialogOpen
dependency property. This property will be updated if a dialog is shown or not. - New:
OwnerCanCloseWithDialog
property atMetroDialogSettings
which can be used to handle how the owner of the dialog can be closed. - Ne...
- Add a new (readonly)
MahApps.Metro 1.6.0-alpha0184
pre-release notes
MahApps.Metro 1.6.0-alpha0150
pre-release notes
MahApps.Metro 1.6.0-alpha0128
pre-release notes