Skip to content

Releases: MahApps/MahApps.Metro

MahApps.Metro v2.0.0

24 May 12:21
Compare
Choose a tag to compare

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...
Read more

MahApps.Metro 1.6.5

19 Jun 19:39
Compare
Choose a tag to compare

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

14 May 20:39
f7c01d5
Compare
Choose a tag to compare

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

11 May 22:13
8943feb
Compare
Choose a tag to compare

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

30 Apr 21:59
17c935c
Compare
Choose a tag to compare

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

13 Mar 22:24
c99301f
Compare
Choose a tag to compare

As part of this release we had 4 commits which resulted in 2 issues being closed.

Bugs

  • #3202 NU1602 Build Warning in 1.6.0
  • #3193 Fixing branch name for appveyor badges

Where to get it

You can download this release from MahApps.Metro

MahApps.Metro 1.6.0

15 Feb 22:47
Compare
Choose a tag to compare

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 like FontFamily or FontSize for all Watermarks.
  • New: Replacing WindowChrome and related things with reference to ControlzEx #3021
  • NumericUpDown
    • New: SnapToMultipleOfInterval property for NumericUpDown which indicates if the NumericUpDown 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 enumeration NumericInput (default is NumericInput.All)
    • Mark HasDecimals as obsolete
    • Block scientific input if only numbers allowed
    • Fix: NumericUpDown, HotKeyBox and TimerPickerBase doesn't focus for the first time when the FocusManager will be used.
  • New: Changing popup border thickness and padding for ComboBox via resource keys
    • ComboBoxBorderThemeThickness (default 1)
    • ComboBoxPopupBorderThemeThickness (default 1)
    • ComboBoxPopupBorderThemePadding (default 1)
  • New: Changing the header padding for GroupBox and Expander via resource keys
    • GroupBoxHeaderThemePadding (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
  • Watermark
    • Use TextBoxHelper.Watermark for HotKeyBox instead own DependencyProperty (marked as obsolete).
    • Allow TextBoxHelper.AutoWatermark for HotKey DependencyProperty of HotKeyBox.
    • 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 for TextBox) to set how the watermark should wrap text. Default is binded to TextWrapping property. thx to @amkuchta
  • VS Theme
    • New: StandardGroupBox style
    • New: StandardExpander style
  • TabControlHelper
    • New: TabControlHelper.CloseButtonEnabled attached property to show / hide the close button (default is true).
    • New: TabControlHelper.CloseTabCommand attached property which executes if the TabItem will be closed.
    • New: TabControlHelper.CloseTabCommandParameter attached property which will be passed to the CloseTabCommand.
  • New: Add TextBoxHelper.ButtonsAlignment support for PasswordBox styles #3074 @waleswood
  • New: MetroHeader control which can contains any other content and can display a header on top of this content.
    2017-10-11_15h58_35
    2017-10-11_16h04_32
     <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 horizontal ScrollBar is visible then the mouse wheel scrolls to left and right.
    • Change: VerticalScrollBarOnLeftSide attached property from ScrollBarHelper to ScrollViewerHelper. ScrollBarHelper is now marked as obsolete.
  • New: Use FlatButtonForegroundBrush in the new MahApps.Metro.Styles.FlatButtonFocusVisualStyle which is used now for MetroFlatButton and MetroFlatToggleButton
  • PasswordBoxHelper
    • New: RevealButtonContent and RevealButtonContentTemplate attached properties
    • Set the DefaultRevealButtonIcon ContentControl to RevealButtonContent attached property
  • Change: Use the original Win 10 close button style
    • New: MahApps.Metro.Styles.WindowButton.Close.Light.Win10 and MahApps.Metro.Styles.WindowButton.Close.Dark.Win10 styles
      2017-12-30_17h03_11
      2017-12-30_17h04_19
      2017-12-30_17h04_25
  • New: ItemHelper class with some Brush attached properties for mouse interaction. These properties can be used with HamburgerMenuItem, ListBoxItem, ListViewItem, TreeViewItem and ComboBoxItem.
    • ItemHelper.ActiveSelectionBackgroundBrush default AccentColorBrush
    • ItemHelper.ActiveSelectionForegroundBrush default AccentSelectedColorBrush
    • ItemHelper.DisabledBackgroundBrush default x:Null
    • ItemHelper.DisabledForegroundBrush default GrayNormalBrush
    • ItemHelper.DisabledSelectedBackgroundBrush default GrayBrush7
    • ItemHelper.DisabledSelectedForegroundBrush default AccentSelectedColorBrush
    • ItemHelper.HoverBackgroundBrush default AccentColorBrush3
    • ItemHelper.HoverSelectedBackgroundBrush default AccentColorBrush
    • ItemHelper.SelectedBackgroundBrush default AccentColorBrush2
    • ItemHelper.SelectedForegroundBrush default AccentSelectedColorBrush
  • ToggleSwitch
    • New: ContentPadding dependency property to change the padding of the inner content in an easy way.
  • 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 and OptionsItemContainerStyle 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 from BitmapImage to subclass ImageSource
    • New: Introduce ItemInvoked event (as an alternative to ItemClick and OptionsItemClick)
    • New: SelectionIndicator (rectangle) which can be enabled with the new ShowSelectionIndicator dependency property
      • New: resource key HamburgerMenuSelectionIndicatorThemeWidth default 6
      • New: resource key HamburgerMenuSelectionIndicatorThemeHeight default 24
    • Improved item FocusVisualStyle
      • Add new (readonly) ItemFocusVisualStyle dependency property which will be re-created if one of these properties are changed: OpenPaneLength, CompactPaneLength and IsPaneOpen. Default template is HamburgerMenuItemFocusVisualTemplate.
      • This FocusVisualStyle can be override at the HamburgerMenuItem style by setting the FocusVisualStyle 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 for HamburgerMenuItem
      mahapps_hamburger_right
      mahapps_hamburger
      2018-01-08_16h34_14
      2018-01-08_16h34_19
      2018-01-08_16h34_22
  • 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.
  • MetroWindow (Dialogs)
    • Add a new (readonly) IsAnyDialogOpen dependency property. This property will be updated if a dialog is shown or not.
    • New: OwnerCanCloseWithDialog property at MetroDialogSettings which can be used to handle how the owner of the dialog can be closed.
    • Ne...
Read more

MahApps.Metro 1.6.0-alpha0184

22 Oct 20:36
Compare
Choose a tag to compare
Pre-release

pre-release notes

MahApps.Metro 1.6.0-alpha0150

06 Oct 22:57
Compare
Choose a tag to compare
Pre-release

pre-release notes

MahApps.Metro 1.6.0-alpha0128

28 Sep 07:02
Compare
Choose a tag to compare
Pre-release

pre-release notes