Changelog History
Page 2
-
v2.1.1 Changes
July 02, 2020π As part of this release we had 6 commits which resulted in 2 issues being closed.
π Bug
- #3831 High contrast detection in Theme Manager
π Improvement
- #3869 Use BooleanBoxes for better dependency properties performance
Where to get it
π You can download this release from MahApps.Metro
-
v2.1.0 Changes
June 23, 2020π As part of this release we had 40 commits which resulted in 22 issues being closed.
π Bugs
- #3865 Trying to call ShowMessageAsync() from SimpleChildWindow causes exception
- #3861 ShowModalMessageExternal doesn't work together with Powershell
- #3859 HamburgerMenu with own ViewModel collection produces System.Windows.Data Warning and Error
- #3840 Checkboxes using Dark theme within DataGrid column appear unchecked (Server 2012 R2)
- #3838 Blue highlight color is old cyan blue
- #3833 RadioButton's MouseOver/Pressed/Disabled Foreground is always the theme's foreground color
- #3755 DialogManager.ShowDialogExternally() exception if no other window exists
- #3684 PowerShell script crashes on ShowModalInputExternal
- #3500 ShowModalLoginExternal problem
π Bug Fixs
- #3866 (GH-3865) Fix InvalidOperationException when open a dialog over a child window
- #3862 Fix not showing external dialogs inside Powershell scripts
- #3860 (GH-3859) Allow own ViewModel collection for HamburgerMenu ItemsSource
- #3854 (GH-3838) Fix Highlight color for Blue and Purple
- #3846 Fixed duplicated instruction
- #3841 (GH-3840) DataGrid auto generated column styles
π Features
- #3864 Added new attached properties to the RadioButtonHelper
- #3858 Add Flat slider resource keys for MinWidth and MinHeight
- #3856 (GH-3839) Allow setting AutomationProperties for HamburgerMenuItem
- #3850 [NumericUpDown] Always use the current cultures decimal separator
π Feature Requests
- #3843 NumericUpDown decimal input
- #3839 AutomationProperties for Hamburger Menu
- #3834 Introduce attached properties to set RadioButton's brush states
Where to get it
π You can download this release from MahApps.Metro
-
v2.0.1 Changes
June 04, 2020π As part of this release we had 19 commits which resulted in 12 issues being closed.
π Bugs
- #3829 Using DateTimePicker leads into error
- #3827 Default Background for CheckBox is now Transparent.
- #3821 In RadioButton the OuterEllipse.Fill shouldn't be bound to the RadioButton's background
- #3817 HamburgerMenu: Content sometimes moves behind navigation bar
- #3812 Expander reserves internal needed space before expanding
- #3811 Regression in v2.0: Effect of parent's IsEnabled on DropDownButton
π Bug Fixs
- #3837 (GH-3817) Fix coercing of OpenPaneLength at HamburgerMenu
- #3836 (GH-3827) Change Check Background for CheckBox
- #3835 (GH-3821) Fix Fill and Stroke brush for RadioButton's outer ellipse
- #3830 (GH-3829) Fix DateTimePicker BindingExpression errors
- #3819 Fix parent IsEnabled behavior for DropDownButton and SplitButton
- #3816 (GH-3812) Fix wrong space for Expander before expanded
Where to get it
π You can download this release from MahApps.Metro
-
v2.0.0 Changes
May 24, 2020π 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 RichTextBox is broken in latest source
- #3623 Dark Themes use LightMinButtonStyle, LightMaxButtonStyle and LightCloseButtonStyle for WindowButtonCommands
- #3605 HamburgerMenu: Previous view controls can still be clicked.
- #3603 Custom Dialog ignoring Accent color
- #3599 WindowButtonCommands Foreground Brush should be always OverrideDefaultWindowCommandsBrush
- #3598 The type of OverrideDefaultWindowCommandsBrush should be Brush rather then SolidColorBrush
- #3596 Creating a MetroWindow in a different thread is not possible again
- #3592 HamburgerMenu - HamburgerVisibility "Collapsed" statement doesn't seem to work properly
- #3590 XamlColorSchemeGenerator.exe exited with code 3
- #3589 Various errors building latest commit on develop
- #3547 DataGridNumericUpDownColumn doesn't has a TextAlignment
- #3544 Application.Current: Missing Null check
- #3538 In full-screen mode, the dialog window pops out on 2 monitor
- #3533 SplitView Pane not shown
- #3528 Why is ignore file line 264 end with .exe?
- #3525 Recent Alpha breaks embedded HamburgerMenu
- #3513 SplitButton contents disappearing on subsequent clicks
- #3506 ShowTitleBar can not fill all screen
- #3494 HandleUserPreferenceChanged should handle ArgumentNullException
- #3478 Splitview Animation
- #3473 Minimize button in system menu still appear
- #3471 Windows does not show GlowBrush on Resize="NoResize"
- #3470 DataGridNumericUpDownColumn - Vertical alignment
- #3469 SaveWindowPosition
- #3458 ToggleSwitch and ToggleSwitchButton works differently depending whether user clicked on it or dragged it
- #3455 DateTimePicker System.IndexOutOfRangeException
- #3436 HamburgerMenu ItemInvoked doesn't fire automatically
- #3430 Hamburger menu selected index binding problem
- #3420 NumericUpDown Undo/Redo Value-Binding not updated
- #3412 BaseMetroDialog DialogBottom: CommandBinding doesn't work
- #3408 In InputDialog,The button is partially invisible.
- #3406 Custom ContextMenu on NumericUpDown will not show on text input
- #3391 ItemContainerStyleSelector on ComboBox does not work with MahApps
- #3379 ShowProgressAsync extends autosized window content
- #3377 NumericUpDown SnapToMultipleOfInterval property does not work with decimal increments
- #3376 NumericUpDown StringFormat doesn't handle percentages correctly.
- #3374 [DateTimePicker] - Focus and BorderBrush
- #3367 HamburgerMenu doesn't handle DataContext inheritance for Menu items
- #3365 Wrong foreground/text color with dark theme under frame
- #3360 Slider Value exceeds Minimum and Maximum bounds on MouseWheel
- #3356 Validation popup is shown in the wrong place when control is inside ScrollViewer
- #3349 ToggleButton IsEnable=false is not working.
- #3345 NumericUpDown for values less than 1
- #3342 TextBoxHelper.SelectAllOnFocus does not work for every mouse click
- #3340 Build fail when running the demo application "MahApps.Metro.Demo" - Could not load file or assembly ControlzEx
- #3335 NumericInputMode for DataGridNumericUpDownColumn
- #3333 TimePicker
- #3332 TransitioningContentControl defines a CornerRadius of 2 inside style
- #3329 Windows 10 Maximize icon is slightly broken on high res displays
- #3323 CloseTabItemAction works only with MetroTabControl
- #3313 VS 15.8.1 update causes "Package is not compatible"
- #3308 TabItem HeaderFontSize change leads to freeze
- #3301 Arithmetic operation resulted in an overflow.
- #3293 IsEnabled does not work properly on HamburgerMenuItem
- #3291 metro window keeps glow on top of owned window on restored
- #3288 Hide() method on window with GlowBrush applied leaves behind outline of artifact on screen
- #3286 DateTimePicker: Calendar.SelectedDate not always updated and consistent
- #3284 Gap between menu items and hamburger icon
- #3280 NumericUpDown doesn't handle percentages correctly
- #3275 TransitioningContentControl vs. ContentControl
- #3266 Add InterceptMouseWheel to DataGridNumericUpDownColumn
- #3265 MetroDialogSettings is not settable within a style
- #3262 DropDownButton/SplitButton mouse over still works despite CanExecute of a Command returns false
- #3257 ScrollBar-Buttons of AnimatedSingleRowTabControl possibly too small
- #3241 Setting a HamburgerMenu.Content is giving a nullexception error
- #3239 Customising HamburgerMenu
- #3236 DataGrid with groupstyle shows errors
- #3224 NumericUpDown ignores value change with stringformat if only the number is selected
- #3217 NumericUpDown Parses Decimal Value Incorrectly
- #3216 1px to the left of the LeftWindowCommands
- #3211 Different Header height in DataGrid without columns
- #3194 WindowTitleBrush set in WindowBackgroundBrush in BaseLight theme problem
- #3189 NumericUpDown Input Issues
- #3108 Taskbar shown when child window closed when IgnoreTaskbarOnMaximize=true
- #2820 MahApps.Metro's borderlesswindowbehavior does not work with stickywindows.
- #2762 ToggleSwitch - commands triggered wrongly when grid is virtualized
- #2706 MetroWindow GlowBrush more blur in 1.3.0
- #2398 System.TypeLoadException with SpellCheck.IsEnabledProperty
- #2334 DateTimePicker does not pick the Validation ErrorTemplate
- #2183 Textbox validator tooltip and scrollviewer
- #2093 Change the Validation Error Position
- #1823 Cannot fully programatically maximize window.
π Bug Fixs
- #3805 Add DataGrid GroupStyle and fix grouping errors
- #3804 Fixed Validation Tooltip that never shows up.
- #3794 (GH-3356, GH-2093) Fix validation popup position after scrolling inside a ScrollViewer
- #3788 Fix for renamed options property in RuntimeThemeGenerator
- #3775 (GH-3746) Fix Date and Time selection and other improvements for DateTimePicker
- #3739 Fix not updating child when using TiltBehavior, after changing accent or theme
- #3704 Allow using the DropDownButton without a dropdown menu
- #3703 Fix Cake build error
- #3695 Improved external dialog to no longer extend onto other monitors
- #3688 Add CheckMark for VS MenuItem
- #3650 Subsequent changes after GH-3552
- #3648 (GH-3646) Fix broken RichTextBox
- #3645 Fix issue with P, % and β° used in StringFormat outside of the format item
- #3610 (GH-3349) Fix disable content of ToggleButton & Button when using circle style
- #3597 Fix creating a MetroWindow in a different thread
- #3593 (GH-3592) Fix HamburgerVisibility "Collapsed" state
- #3591 (GH-3590) Ensure that there is a backslash between nuget path and tool folder
- #3555 Add TextAlignment to DataGridNumericUpDownColumn
- #3546 [GH-3544] Add null check for Application.Current
- #3536 Preventing potential re-entrancy issues by delaying confirmation
- #3509 Support to align the radio checkbox in RadioButton
- #3461 Always update thumb position after drag
- #3456 Fix for DateTimePicker System.IndexOutOfRangeException #3455
- #3444 Fix for HamburgerMenu item selection
- #3413 Fix for: 1px to the left of the LeftWindowCommands
- #3372 Fixing light theme setting detection
- #3348 Fix dependencies for alpha v2.0
- #3322 (GH-3275) Fix TransitioningContentControl vs. ContentControl
- #3319 (GH-3308) Fix TabItem HeaderFontSize change leads to freeze
- #3309 Fix HamburgerMenu IsEnabled false by default
- #2822 Resolved #2820
π Features
- #3793 Resizeable SplitViewPane
- #3790 Added a way to use DataTemplate in BadgedControl
- #3785 (GH-3783) Add OnCommand and OffCommand to ToggleSwitch
- #3782 Add IsVisible property to HambugerMenuItemBase
- #3736 Add RadioButton Windows 10 Style
- #3717 Introduce new attached property ControlsHelper.RecognizesAccessKey
- #3712 Add new attached property TreeViewItemHelper.ToggleButtonStyle
- #3709 Add TargetFramework .NET Core 3.1
- #3706 Use ContentControlEx at Labels Template to enable ContentCharacterCasing
- #3696 DatePicker enhancements
- #3692 Add new HamburgerMenuHeaderItem
- #3691 Add helper for multi selected binding for Listbox/Multiselector controls
- #3683 Add explicit WindowCommand styles for Button/ToggleButton
- #3664 Add an OverlayBrush to the SplitView
- #3613 Add a Style for the GridSplitter-Control
- #3550 Add delegate to customize external dialog window
- #3540 Added a Trigger to MouseOver Property of ValidationMessage
- #3534 CheckBox Windows 10 Style
- #3526 NumericUpDown: Add a property to control changing value with key Enter
- #3524 Tab Control Underline Position
- #3519 (GH-3504) Add initial remember checkbox checked
- #3518 (GH-3484) Allow set Dialogs inner content Column GridLength
- #3517 (GH-3252) Close dialogs with Alt+F4
- #3491 (GH-3434) Add new HamburgerMenuSeparatorItem for HamburgerMenu
- #3490 (GH-3457) Allow cancelling the item click for HamburgerMenu items
- #3487 (GH-3477) Add new attached property FocusBorderThickness
- #3486 Expose more dependency properties for NumericUpDown control at DataGridNumericUpDownColumn
- #3485 (GH-3470) Fix for: DataGridNumericUpDownColumn - Vertical alignment
- #3482 (GH-3453) Add new property ShowSystemMenu
- #3475 Provide event for hamburger button click
- #3441 ScrollViewer end of scroll command
- #3429 Added NaviButtonsPosition Inside/Outside choices
- #3428 Added more choices for positioning buttons on NumericUpDown control
- #3425 RichTextBox with ClearTextButton and Watermark
- #3405 VS style demo addition
- #3370 Add dotnet core 3.0 support
- #3330 TabControl, TabItem enhancement
- #3256 [3215] NumericUpDown - Hexdecimal input mode
- #3048 Tab Control Underline Position
- #2277 Create an accent resource dictionary dynamically
π Feature Requests
- #3789 BadgedControl should implement a ContentTemplate
- #3783 CheckedCommand and UnCheckedCommand Missing in 2.0.0-Alpha0748
- #3768 Toggling visibility on hamburger menu
- #3763 Can SplitView have a GridSplitter or similar so that user can resize the left and right parts?
- #3758 Hamburgermenu Styles not included with MahApps?
- #3725 Add RadioButton Windows 10 Style
- #3715 Header Text with underscore not working
- #3699 ControlsHelper.ContentCharacterCasing not working for Label
- #3681 Add explicit WindowCommand styles for Button/ToggleButton
- #3661 SplitView overriding LightDismissLayer to set opacity and color
- #3656 Clear Button in DatePicker
- #3616 .NET Core 3.0
- #3612 Add a Style for GridSplitter
- #3587 Styles vs Themes Namespaces
- #3539 Validation Error only visible if control has the focus
- #3531 netcoreapp3.0-preview6 support
- #3504 Add InitialShouldRemember Property to LoginDialogSettings
- #3484 Ability to set the gutter on CustomDialog
- #3477 Removing black border from button
- #3457 HamburgerMenu ItemClick how cancel click?
- #3453 How to disable System Menu On Left Click at the Icon of a MetroWindow
- #3447 How can I use a Menu in the window's titlebar ?
- #3434 HamburgerMenu Separator
- #3426 DateTimePicker - two-digit number in input textbox
- #3394 Introduce a property to change the overlay brush for modal Flyouts
- #3261 BadgeControl does not respect size properties
- #3252 Close Dialog with Alt + F4
- #3215 [Feature request] NumericUpDown - Hexdecimal input mode
- #2845 RichTextBox with ClearTextButton and Watermark
- #2615 Attached property, call command when reaching end of scroll
- #2560 SplitButton and DropDownButton WindowCommand styles
- #2193 The TextBoxHelper.ClearTextButton does not work on DatePicker
- #2163 DWM Colored Theme/Accent
- #1936 Title bar button should overlap WindowCommands
- #1815 Drop shadow is not blinking after focus lost for modal dialogs
π Improvements
- #3685 Improve NumericUpDown example
- #3572 Improve check for RD "equality"
- #3523 Wraped the demo pages in a scrollviewer for a better user expierience
- #3521 Demo App should have a scrollviewer around the sample pages
Hacktoberfest
- #3637 Added AttachedProperty CornerRadius to all Buttons (optional)
- #3634 Setting the Background on a HeaderedControl applies only to the Header
- #3633 Rename GroupBoxHelper as it supports also Expander
- #3631 More CornerRadius usage
- #3629 Use attached property CornerRadius for GroupBox control
- #3628 Use attached property CornerRadius for Expander control
- #3627 Use CornerRadius for some controls
- #3626 Add a hidden state for TransitioningContentControl
- #3625 Add the ability to control button font size in dialogs via MetroDialogSettings
- #3624 Fix that makes ContextMenu work with VS theme
- #3620 TransitioningContentControl: old content is not released
- #3619 HamburgerMenu: Allow using own items together with the new HamburgerMenuItemStyleSelector
- #3582 PasswordBox Corner Radius
- #3299 Cornerradius for AccentedSquareButtonStyle?
- #2864 Visual Studio Theme Context Menu
Where to get it
π You can download this release from MahApps.Metro
-
v1.6.5 Changes
June 19, 2018π 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
-
v1.6.4 Changes
May 14, 2018π 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
-
v1.6.3 Changes
May 11, 2018π 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
-
v1.6.2 Changes
April 30, 2018π 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
-
v1.6.1 Changes
March 13, 2018π 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
-
v1.6.0 Changes
February 15, 2018π 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.HeaderTemplate> /Controls:MetroHeader.HeaderTemplate /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
- 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
- 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. - 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
π
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. - New:
IsCloseButtonEnabledWithDialog
property atMetroWindow
which indicates if the close button should be enabled or not if a dialog is shown. - The
HandleOverlayOnHide
andHandleOverlayOnShow
methods sets theIsCloseButtonEnabledWithDialogPropertyKey
and restores focus if needed - New:
OverlayFadeIn
andOverlayFadeOut
properties to set/override the overlay fade in/out Storyboards which are used for theDialogs
- Fix: Fade in and out animation was wrong if no duration exists
- Fix:
HideMetroDialogAsync
fails sometimes to close dialog (async call order)
- Add a new (readonly)
π New: Win10
Slider
style:MahApps.Metro.Styles.Slider.Win10
π New: Normal
Slider
style:MahApps.Metro.Styles.Slider
(mark old as obsolete)- Control template:
MahApps.Metro.Styles.Slider.HorizontalTemplate
,MahApps.Metro.Styles.Slider.VerticalTemplate
- RepeatButton:
MahApps.Metro.Styles.Slider.HorizontalTrack
,MahApps.Metro.Styles.Slider.VerticalTrack
- Thumb:
MahApps.Metro.Styles.Slider.Thumb
- Control template:
π New: Win10
RangeSlider
style:MahApps.Metro.Styles.RangeSlider.Win10
- Control template:
MahApps.Metro.Styles.RangeSlider.HorizontalTemplate.Win10
,MahApps.Metro.Styles.RangeSlider.VerticalTemplate.Win10
- RepeatButton:
MahApps.Metro.Styles.Slider.HorizontalTrack.Win10
,MahApps.Metro.Styles.Slider.VerticalTrack.Win10
- Thumb:
MahApps.Metro.Styles.Slider.Thumb.Win10
,MahApps.Metro.Styles.RangeSlider.HorizontalMiddleThumb.Win10
,MahApps.Metro.Styles.RangeSlider.VerticalMiddleThumb.Win10
- Control template:
π New: Normal
RangeSlider
style:MahApps.Metro.Styles.RangeSlider
- Use
SliderHelper
brush properties also forRangeSlider
- Thump styles for the middle part:
MahApps.Metro.Styles.RangeSlider.HorizontalMiddleThumb
,MahApps.Metro.Styles.RangeSlider.VerticalMiddleThumb
- Use
MetroThumb
insteadThumb
- Set
ReservedSpace
for allTickBar
controls insteadMargin
- Use
SliderHelper
: Add new attached properties for all possibleBrushes
- Allow
SliderHelper.EnableMouseWheel
andSliderHelper.ChangeValueBy
forRangeSlider
too. - Default Win10
Slider
brushes SliderHelper.ThumbFillBrush
defaultAccentBaseColorBrush
SliderHelper.ThumbFillHoverBrush
defaultGrayBrush3
SliderHelper.ThumbFillPressedBrush
defaultAccentBaseColorBrush
SliderHelper.ThumbFillDisabledBrush
defaultGrayBrush1
SliderHelper.TrackFillBrush
defaultGrayBrush2
SliderHelper.TrackFillHoverBrush
defaultAccentBaseColorBrush
SliderHelper.TrackFillPressedBrush
defaultGrayBrush6
SliderHelper.TrackFillDisabledBrush
defaultGrayBrush3
SliderHelper.TrackValueFillBrush
defaultAccentBaseColorBrush
SliderHelper.TrackValueFillHoverBrush
defaultGrayBrush6
SliderHelper.TrackValueFillPressedBrush
defaultGrayBrush6
SliderHelper.TrackValueFillDisabledBrush
defaultGrayBrush6
- Default
Slider
brushes SliderHelper.ThumbFillBrush
defaultGrayBrush2
SliderHelper.ThumbFillHoverBrush
defaultGrayBrush3
SliderHelper.ThumbFillPressedBrush
defaultAccentColorBrush
SliderHelper.ThumbFillDisabledBrush
defaultGrayBrush5
SliderHelper.TrackFillBrush
defaultGrayBrush3
SliderHelper.TrackFillHoverBrush
defaultAccentColorBrush
SliderHelper.TrackFillPressedBrush
defaultGrayBrush2
SliderHelper.TrackFillDisabledBrush
defaultGrayBrush3
SliderHelper.TrackValueFillBrush
defaultAccentColorBrush
SliderHelper.TrackValueFillHoverBrush
defaultGrayBrush6
SliderHelper.TrackValueFillPressedBrush
defaultGrayBrush6
SliderHelper.TrackValueFillDisabledBrush
defaultGrayBrush6
- Allow
DatePicker
- New: Add new dependency property
ControlsHelper.IsReadOnly
. This property sets theIsReadOnly
property on the innerTextBox
and theIsEnabled
on the inner popup button.
- New: Add new dependency property
Strong naming
MahApps will no longer be strong-named beginning with this version. #3029
Why?
Strong-named assemblies are only useful in some rare scenarios. If you need strong-named assembly then you can compile the source by yourself ore use the Strong Namer from Daniel Plaisted @dsplaisted or Strong-Name Signer from Werner van Deventer @brutaldev.
More informations about the reason of this decision can be found here:
- Still Strong-Naming your Assemblies? You do know itβs 2016, right?
- XAML Behaviors UWP Managed 1.1.0
- π Strong-Named Assemblies
Commits without PRs/Issues
- π
69afa65e Adopt
SpellCheck.IsEnabled
changes fromMaterialDesignInXamlToolkit
@ButchersBoy #650 Removes the extra hidden classes and enables flexible style changes, it's more WPF now. - 15bbe66d Inherit FontFamily and FontSize for
CalendarDayButton
andCalendarButton
fromCalendar
. - 2c97fd4e Fix: Brushes for
MetroProgressBar
- 5c4471c3 Use DynamicResource for all brushes and freeze it too.
- 8c0f893f Fix:
MetroProgressBar
does not work inside ControlTemplate - c900c5bd Check for RootVisual in
GlowWindowBehavior
- ad16dc30
ResizeBorderThickness
must also be set to 0 on maximize - 6943cc92 Use
PropertyChangeNotifier
fromControlzEx
- 7ea7a7c7 Removing trigger for
ResizeBorderThickness
as it's handled byControlzEx
- π 44c23637 Fix possible System.Windows.Data warning for
ComboBoxItem
, if aComboBox
is inside aContentControl
. - edc34679
FlipView
: BindItemStringFormat
toContentStringFormat
- β‘οΈ 2c1c692b Fix not updating the text of
TimePicker
andDateTimePicker
after changing the culture - π
e54aaaf1 Use
DialogTitleFontSize
andDialogMessageFontSize
via DynamicResource at the base MetroDialog style - 9071379b Closing main demo was wrong (TaskCanceledException)
- 0οΈβ£ 4253d89f Set
HorizontalScrollBarVisibility
andVerticalScrollBarVisibility
forHotKeyBox
andNumericUpdDown
to Hidden, cause the inner TextBox has this as default too - π
713cb69b
Slider
: remove linear gradient brush from horizontal and vertical track value style.RangeSlider
: fix margin of the middle thumb.
π Bugs
- #3185 Fix for (GH-3039) NumericUpDown
- #3181 Reorganize the Sliders and Progress examples with some fixes...
- #3176 (GH-3175) MetroWindow: use BorderThickness as Margin for inner window content
- #3175 Window contents cut off by 1px
- #3171 NumericUpdOwn LostFocus text validation
- #3168 NumericUpDown.StringFormat not working via Code behind
- #3166 Bug On NumericUpDown
- #3162 WIP MetroWindow: OverlayFadeIn / OverlayFadeOut
- #3161 HamburgerMenu: correct PanePlacement handling
- #3160 Fix not focusing custom controls via FocusManager
- #3159 MetroThumbContentControl: Catch possible exception and trace it
- #3156 Fixed issue #3155 "GridViewColumnHeader uses twice the padding"!
- #3155 GridViewColumnHeader uses twice the padding
- #3152 Fix overriding (Metro)TabItem controltemplate/style
- #3150 Templated MetroDialog alignment
- #3148 Fix loaded content at HamburgerMenu
- #3146 Fix for WindowsSettingBehaviour and possible AssociatedObject Nullreference
- #3145 Fix for #3143 Flyout's header not binding to XmlProvider
- #3143 Flyout's header not binding to XmlProvider
- #3142 Fix Dialogs Resource handling
- #3140 System.InvalidOperationException: Ten element Visual nie jest poΕΔ czony z PresentationSource.
- #3131 WindowSettings.SaveWindowState ConfigurationErrorsException
- #3129 Override MetroTabItem controltemplate with close button
- #3126 Fix MultiFrameImage: frame selection in NoScaleSmallerFrame mode
- #3121 (#3101) Fix disabled Foreground for MahApps.Metro.Styles.MetroCircleButtonStyle
- #3120 (#3109) Fix NullReferenceException when using Flyout with theme
- #3119 (#3118) Fix for dark theme FlatButton FocusVisualStyle Foreground
- #3118 Fix for dark theme flat button FocusVisualStyle
- #3110 Fixes 3107.
- #3109 NullReferenceException When using Flyout With Theme
- #3107 Object reference not set to an instance of an object.
- #3106 HamburgerMenu control: still just a demo?
- #3104 SplitView doesn't work with Caliburn.Micro ActivateItem(xxx)
- #3101 MetroCircleButtonStyle not fading inner icon when button is disabled
- #3091 Fix #3010 IsTabStop for HamburgerMenu
- #3090 Fix NumericUpDown Issue #3086
- #3089 Setting HamburgerMenu.SelectedIndex or Item cause the lost of its content
- #3086 NumericUpDown CornerRadius Border issue.
- #3082 Fix wrong caret index for revealed PasswordBox
- #3079 Incorporate Grey Color Into BaseLight & BaseDark
- #3078 Not All "Grey" Values Are Set in BaseLight/BaseDark
- #3076 Fix for Floating watermak field doesn't fit according to floating watermark FontSize
- #3068 AutoWatermark attached property has no effect on HotKeyBox
- #3067 Right aligned floating Watermark goes behind clear button
- #3066 Don't catch TextChangedEvent in NumericUpDown
- #3060 Fix for TextBox GPU memory leak
- #3054 WindowsSettingBehaviour broken after using ControlzEx
- #3050 Allow TimePicker to parse times with an AM/PM.
- #3049 TimePicker fails to parse times with an AM/PM.
- #3046 Update TextBoxHelper.cs
- #3045 Clicking on the "X" button added by TextBoxHelper.ClearTextButton does not clear the databinding target
- #3043 Width parse error
- #3042 NumericUpDown Focus doesn't work if set through FocusManager
- #3039 NumericUpDown
- #3038 Update from Version 0.13.1 to a higher one
- #3034 GlowBrush="{DynamicResource AccentColorBrush}" is causing a ComponentModel Exception in UpdateCore
- #3031 NumericUpDown do not fire at certain conditions
- #3028 SaveWindowPosition causes application to crash
- #3026 NumericUpDown didn't update when lost focus, StringFormat has no effect to the content string
- #3025 ComboBox popup border thickness problem
- #3023 Custom Dialog Theme Issue
- #3022 HideMetroDialogAsync sometimes fails to close dialog
- #3017 SplitButton with custom ItemTemplate - Source change does not always update layout
- #3013 ListView (ListBox) - Undeletable Top Padding
- #3010 HamburgerMenu ignores Focusable and IsHitTestVisible properties
- #3009 Floating Watermak field doesn't fit according FontSize
- #3001 DatePicker padding do not work
- #3000 Empty Watermark leaves blank border on date time controls
- #2999 Using OrdinalIgnoreCase instead of InvariantCultureIgnoreCase in ThemeManager
- #2997 [Fix] WPF-BindingLeak: Bind to property of non INotifyPropertyChanged without using BindingMode.OneTime
- #2996 Mahapps window steals focus
- #2992 Fixing a few issues in ThemeManager
- #2991 Enable LayoutTransform and RenderTransform on MetroWindow
- #2990 TextBox memory leak
- #2985 TimePicker 24hour format selection
- #2983 NumericUpDown Internal Text Doesn't Update When Expected
- #2972 ThemeManager.ChangeAppStyle from separate thread doesn't take effect every 4th time
- #2966 [Only visual] PasswordBox bug
- #2963 WindowCommands with ItemTemplateSelector not working
- #2962 MetroStatusBar Style and Prism RegionManager
- #2958 NumericUpDown: If HasDecimals is set to false and StringFormat was bound, HasDecimals will be set to true after unloading and loading the control
- #2956 property ToolTip of ProgressRing does not work
- #2954 add contentstringformat to contentpresenter in controls.radiobutton.xaml
- #2953 Can't run MahApps 1.5.0 Caliburn Demos on VS2015
- #2951 Window with showactivated=false and sizetocontent=WidthAndHeight is activated in Mahapps.Metro v1.5
- #2938 DataGridNumericUpDownColumn StringFormat binding
- #2937 Fuzzy button outline
- #2933 Hamburguer menu issue
- #2926 IsPaneOpen property in Hamburger Menu is not properly set after opening/closing pane
- #2813 ControlTemplate and Style are not applied to the CustomDialog
- #2806 Async Content Dialog is not always blocked
- #2753 Race condition in ShowMetroDialogAsync/HideMetroDialogAsync
- #2745 Why change App Style in Flyout if the theme Adapt is chosen?
- #2731 Keep BorderThickness on maximize if necessary
- #2622 DateTimePicker - Format
- #2468 DialogCoordinator.ShowMessageAsync Button Accent
- #2463 [accessibility] Dialogs and screen reader
- #1678 Pivot control does not work with BaseDark style
π Features
- #3178 Add ability to set progress dialog progress bar brush color
- #3177 HamburgerMenuItem ToolTip Implementation
- #3170 DatePicker IsReadOnly
- #3165 Add new Win10 Slider style
- #3158 NumericUpDown: Add a new property to handle the allowed numeric input
- #3153 WIP Handle CloseButton together with ShowDialogsOverTitleBar
- #3151 New IsAnyDialogVisible dependency property for MetroWindow
- #3149 Add FlyoutAutomationPeer for better CodedUI support
- #3147 Add basic MetroDialog AutomationPeers
- #3134 HamburgerMenu and Item selection/hover brush improvements
- #3133 Use the original Win 10 close button style
- #3122 (#3105) Allow to change the RevealButton Icon in the PasswordBox
- #3087 New ScrollViewerHelper class with IsHorizontalScrollWheelEnabled
- #3077 Add new MetroHeader control
- #3074 add "PasswordBox" support "ButtonsAlignment"
- #3073 VS Theme TabItem enhancements
- #3072 Add missing VS StandardExpander style
- #3071 Add missing VS GroupBox style
- #3069 Watermark fixes and improvements
- #3021 Replacing WindowChrome and related things with reference to ControlzEx
- #3014 Resolved #2619
- #2975 Creators Hamburger Menu
- #2935 It is now possibile to set FontFamily to DateTimePicker.
- #2930 DisplayFormat in DateTimePicker and TimePicker
- #2467 Added Canceled Result To MessageDialogResut
- #2423 Added the habilitiy to block the use of the scientific notation 'e'.
π Feature Requests
- #3169 HamburgerMenuIconItem ToolTip
- #3105 [Enhancement] Allow to change the Reveal Icon in the PasswordBox
- #3100 HorizontalAlignment of BaseMetroDialog content
- #3084 MetroAnimatedSingleRowTabControl Scrollbar issue
- #3070 VS GroupBox style
- #2979 [Request]Win 10 Fluent Design Hamburger Menu
- #2977 Badge must have a different look when disabled
- #2952 NumericUpDown snap to interval
- #2931 [Request]Win 10 Creators Update Hamburger Menu
- #2889 [Feature Request] Watermark Wrapping
- #2884 [Feature Request] Watermark Trimming
- #2882 Titlebar Close command does not work with ShowDialogsOverTitleBar=False
- #2879 [Feature request] Ticks property for the RangeSlider
- #2825 Shorten Dialog Show/Hide animation duration
- #2527 Coded UI Testing in not working Properly on this UI
- #2491 Question: Changing font style for watermark
- #2422 Added the habilitiy to block the use of the scientific notation 'e' on NumericUpDown.
- #1731 VS Theme TabItem Question
- #957 Expander icon in VS theme
Where to get it
π You can download this release from MahApps.Metro
- π New: