Skip to content

Releases: MahApps/MahApps.Metro

MahApps.Metro 1.5.0

13 Apr 20:18
Compare
Choose a tag to compare

Features / Changes / Fixes

  • If a dialog is shown in a window other than the MainWindow, OwningWindow will be used if available to detect the theme. #2840
  • Fixed an issue for DateTimePicker when the time is cleared if a date is selected #2837
  • HamburgerMenu changes and improvements
    • New HamburgerMenuIconItem helper class which can be used to put any object icon to the menu item.
    • Fixed tab order and keyboard selection.
    • ItemCommand and OptionsItemCommand
    • Command for HamburgerMenuItem
    • New property PaneForeground for HamburgerMenu and Splitview and new Foreground/Background brushes MahApps.Metro.HamburgerMenu.PaneBackgroundBrush, MahApps.Metro.HamburgerMenu.PaneForegroundBrush
    • Update scroll behavior to match with the UWPCommunityToolkit (see UWP Toolkit Issue #954).
      • Add a new dependency property VerticalScrollBarOnLeftSide to show the vertical scrollbar on the left side
      • Use a disappearing ScrollViewer
    • Add HamburgerVisibility property UWPCommunityToolkit #1020
    • Set Content for HamburgerMenu only if one of the inner ListBox controls has a selected item.
    • New HamburgerMenuHeaderTemplate property to set a header right of the HamburgerMenu button. @SilverDragon135 #2917
    • Implement the interface ICommandSource and handle Command binding change to hook or unhook command executable.
      mahapps_hamburgermenu_commands
    • Add MahApps.Metro.Styles.HamburgerMenu style key to the HamburgerMenu.
  • If ShowInTaskbar = false, when double click on the title bar of a minimized window, the window will be restored instead of maximized. #2854 @hausenism
  • Fix WindowCommands tab stop bug #2858 @neilt6
  • Don't overwrite cancellation for window close event #2868 @batzen
  • Expose close button margin for MetroTabItem #2803
  • New Badged control. Thx to @ButchersBoy
    image
  • The ControlsHelper.CornerRadius can now used for SplitButton and DropDownButton.
  • New underline types for TabControl and MetroTabControl #2902
    • Adds a new Underlined attached property to TabControlHelper which controls the type of the underline type. The old IsUnderlined property is now obsolete.
    /// <summary>
    /// Specifies the underline position of a TabControl.
    /// </summary>
    public enum UnderlinedType
    {
        None, // nothing
        TabItems, // the old behavior with `IsUnderlined="True"`
        SelectedTabItem, // selected TabItem underlined + underline hover effect for unselected items
        TabPanel // underlined TabPanel and selected/hovered TabItem
    }
    
    • Add also new Brush attached properties to enable easy changing the underline brushes.
    TabControlHelper.UnderlineBrush
    TabControlHelper.UnderlineSelectedBrush
    TabControlHelper.UnderlineMouseOverBrush
    TabControlHelper.UnderlineMouseOverSelectedBrush
    
    mahapps_newunderline4
  • New underline types also for AnimatedTabControl and AnimatedSingleRowTabControl styles and for MetroAnimatedTabControl and MetroAnimatedSingleRowTabControl #2905
  • Fix / improve AnimatedSingleRowTabControl styles
    • Fix template changing (doesn't works if TabStripPlacement was changed)
    • Disappear arrow repeat buttons
    • Use brush, hover and pressed brush like normal ScrollViewer
  • Fixed ClearTypeHint and wrong Margin for ComboBox and ComboBoxItem #2903
  • Fix ListView style issues
    • Use accent brush for highlighted border
    • Fix SnapsToDevicePixels usage
    • Fix disabled foreground brush
  • Fix SnapsToDevicePixels usage for CheckBox
  • Flyout changes and improvements
    • Fix Flyout modal usage. All title bar commands are now hidden if a Flyout is modal.
    • Fix background and foreground usage of controls in a Flyout if user changes theme on the fly. #2337 The Flyout has a different background, so we should override some background and foreground brushes and colors.
    • Change Flyout from ContentControl to HeaderedContentControl which has the correct properties for headers.
    • Enable Border for Flyout
  • Use GrayBrush7 and WhiteBrush for menu Separator instead fixed colors.
  • Fix BindingExpression at DropDownButton. Don't set ItemTemplateto ContentTemplate, ItemTemplateSelector to ContentTemplateSelector and ItemStringFormat to ContentStringFormat. This breaks the whole usage of the content stuff and shows a BindingExpression path error. #2883
  • New UsernameCharacterCasing property for LoginDialogSettings #2683
  • Fix SelectionChanged event of SplitButton which fires now only once.
  • Add TransitionCompleted event to MetroContentControl and WindowTransitionCompleted event to MetroWindow which will be fired after the loaded Storyboard is completed.
  • Add new WatermarkAlignment attached property to TextBoxHelper which indicates the horizontal alignment of the watermark (incl. floating watermark).
    mahapps_watermark
  • Add new DataGridHelper with EnableCellEditAssist attached property which enabled direct editing for CheckBox and ComboBox cells. (default to false) Thx to @ButchersBoy (taken from MaterialDesignInXamlToolkit)

Closed Issues

  • #2835 ShowMessageAnsync() causes exception
  • #2848 HamburgerMenu Command MVVM
  • #2866 Validation-Popup won't be opened after closing by mouse left button down
  • #2870 MahApps Not Thread Safe But Should Be [Test Case]
  • #2877 Can't bind to ShowTitleBar
  • #2871 SplitButton CornerRadius
  • #2862 Flyout close button icon is incorrect when setting flow direction right to left
  • #1938 Problem with window size
  • #2066 On Windows 8 a window with height 23px resizes to 39px after dragging
  • #2792 Win32Exception on closing window
  • #2886 NumericUpDown: HasDecimals=False & using a bound StringFormat allows to enter a decimal point @davericardo
  • #2885 [Bug] Badged Control Causes Window Loading to Hang
  • #2895 [RFC] [Enhancement] Proposed TabControlHelper.IsUnderlined Change
  • #2903 1 pixel space between ComboBoxItems closes ComboBox
  • #2841 Modal flyout issue
  • #2337 Flyout style from Accent to Light is not working
  • #2883 Can Reproduce BindingExpression path error: ... property not found ... On DropDownButton
  • #2683 [Question] Force TextBox uppercase in ShowLoginAsync
  • #2857 HamburgerMenuItem Scrolling
  • #1835 Window animation interferes with WindowsFormsHost positioning
  • #2917 Hamburger Header Templating
  • #2332 Calendar ignores IsTodayHighlighted property
  • #2434 DataGridNumericUpDownColumn foreground color
  • #2627 Inconsistent FloatingWatermark Alignment
  • #2865 [Feature request]Enable/Disable of Hamburger Menu Item
  • #2880 RangeSlider: Inadequate snapping to ticks
  • #2812 Font family in Flyout.xaml and MetroNavigationWindow.xaml
  • [#2764](https://github.com/MahApps/MahApps....
Read more

MahApps.Metro 1.4.3

02 Feb 21:37
Compare
Choose a tag to compare

Changes / Fixes

  • Fix Flyout AutoClose sample
  • Try to handle call fail of GetPhysicalCursorPos. #2830

Closed Issues

  • #2832 Wrong window maximize on two monitor systems.
  • #2830 GetPhysicalCursorPos

MahApps.Metro 1.4.2

30 Jan 20:45
Compare
Choose a tag to compare

Changes / Fixes

  • #2814 Correct display of media buttons in HotKeyBox (thx @thoemmi)
  • 7fcc6b7 Fix breaking changes for obsolete properties ButtonHelper.PreserveTextCase, ButtonHelper.CornerRadius and ControlsHelper.ButtonWidth
  • a1d199d Fix binding to Content of HamburgerMenu
  • #2799 DateTimePicker SelectedDate issue (thx @xxMUROxx)
    • Fix issue where SelectedDate is set to the DisplayDate if the SelectedDate is DateTime.MinValue. This issue appears when binding to a property of DateTime and the date is DateTime.MinValue.
  • Z-Order was wrong if MetroWindow is ignoring the Taskbar and maximized. This fix and the main Taskbar z-Order issue only happens with Windows 10 anniversary update 1607. Hopefully fixed in the future. #2780
  • Use internal GetPhysicalCursorPos instead GetCursorPos (tested with remote desktop and different DPI) #2748

Closed Issues

  • #2585 HotKeyBox gives wrong names to multimedia buttons
  • #2817 TransitioningContentControl's TransitionCompleted event fires twice
  • #2804 TransitionsEnabled=false NullpointerException
  • #2823 Issue with ClearTextButton on TextBox
  • #2815 Layout issue with TabControl, TabStripPlacement Left, TabControlHelper.IsUnderlined="True"
  • #2770 Increase Win10 ToggleSwitch Default Margins
  • #2780 External Dialogs not visible with MainWindow set to IgnoreTaskbarOnMaximize
  • #2748 Access Denied
  • #2591 Weird MetroProgressBar animation with IsIndeterminate=true

MahApps.Metro 1.4.1

05 Jan 22:48
Compare
Choose a tag to compare

Changes / Fixes

  • #2793 StringToVisibilityConverter should handle null like an empty string
  • #2796 HamburgerMenu SelectedIndex Fix
  • #2797 Fix NumericUpDown using UseFloatingWatermark
  • #2789 Prevent the MetroDataGridCheckBox from being toggled by a TAB + SPACE when the cell is supposed to be read only.

Closed Issues

  • #2795 NumericUpDown Watermark is shown twice when using floatingwatermark for textboxes
  • #2788 MetroDataGridCheckBox cell can be changed when IsReadOnly via keyboard + space
  • #2785 Vailidation tooltips does not show.
  • #2780 External Dialogs not visible with MainWindow set to IgnoreTaskbarOnMaximize

MahApps.Metro 1.4.0

22 Dec 23:10
Compare
Choose a tag to compare

Features / Changes / Fixes

  • Don't focus flyout on close #2671 (@ButchersBoy) This hack was introduced with #1805 which was noticed by manual testing.

  • Don't focus the FlyoutsControl

  • Fix another TopMost issue: If the window is top most and you switch to another window the top most will be gone.

  • Change icon for TimePicker #2700 (@p76984275)

  • Icon scaling #2667 (@thoemmi)

    • New property IconScalingMode to MetroWindow. It's forwarded to MultiFrameImage.MultiFrameImageMode to set the icon scaling.
      • MultiFrameImageMode.ScaleDownLargerFrame
        It takes the smallest frame which from the icon which has equal or larger size as the window's icon template. The frame is scaled down it's larger.
        image
      • MultiFrameImageMode.NoScaleSmallerFrame
        It takes the largest frame from the window which has equal or smaller size than the window's icon template. The frame is rendered centered if it's smaller.
        image
  • Changes for DateTimePicker and TimePicker #2710

    • Change DateTimePicker.SelectedDate to BindsTwoWayByDefault. The reason is that we do not have to use Mode=TwoWay explicit, and DatePicker.SelectedDate has BindsTwoWayByDefault too.
    • [Fix] Issue where Binding issues on DateTimePicker/TimePicker are shown on the output window
    • [Fix] Issue where Hour 0 is not shown when using 24h clock
    • Fix issue where clearing text does not immediately set value to null but 00:00:00 and 0001.01.01 00.00.00 respectively
    • Change icon for TimePicker #2700 (@p76984275)
    • Hide DateTimePicker and TimePicker on lost focus. Fix also Shift+Tab focus moving.
  • New SplitView and HamburgerMenu control #2704

  • New dependency properties for MetroWindow to set the brush and opacity for the overlay if a dialog is shown.

    • OverlayBrush sets the brush used for the dialog overlay.
    • OverlayOpacity sets the opacity used for the dialog overlay (0 = disabled, 1 = full overlay).
  • The TextBox's with the styles MetroButtonTextBox and SearchMetroTextBox can now use the button also if IsReadOnly="True" (only if the button command is set)

  • New AutoWatermark attached property at TextBoxHelper #2722 (@xxMUROxx) which is able to get the DisplayAttribute from the bound property in following cases:

    • Binding that is supported
      • "{Binding Path=Property}"
      • "{Binding Path=Property.SubProperty}"
      • "{Binding Path=CollectionProperty}"
      • "{Binding Path=CollectionProperty[0].SubProperty}"
    • Binding that is not supported
      • "{Binding Path=CollectionProperty[0]}"
    • This property is available for TextBox, ComboBox, NumericUpDown, DatePicker, TimePicker and DateTimePicker
  • Flyout changes for better Margin usage

    • This changes affects only users who used the sample from the source which shows how to use the FlyoutsControl actual width and a Margin for the Flyout
    • It's now possible to work without the actual width and use only the Margin or HorizontalContentAlignemnt for Left/Right and VerticalContentAnlignment for Top/Bottom Flyout.
      • Margin="200 30 0 0" and Position="Right" Flyout with left an top Margin
      • HorizontalContentAlignment="Stretch" and Position="Right" Flyout which covers the whole window
  • Changed style names (and changes, see #2767) for

    • Default Button (ButtonBase) -> MahApps.Metro.Styles.MetroButton
    • Default ToggleButton -> MahApps.Metro.Styles.MetroToggleButton
  • Fixed Expander closing animation and make it possible to change both animations (expand and collapse). #2769 (@ Alkalinee)

  • Updated TabControl and TabItem style for VS #2768

    • Handle TabStripPlacement
    • Default close button action (no closing event yet)
  • TextBox ContextMenu changes #2772, #2758 by @Deadpikle

    • If you want to use the default context menu items cut, copy and paste you must do nothing
    • If you want to use your own context menu items without the default items you must do this
    <TextBox Text="Yeahh">
        <TextBox.ContextMenu>
            <ContextMenu>
                <MenuItem Header="This is only a Test-Item" />
            </ContextMenu>
        </TextBox.ContextMenu>
    </TextBox>
    • If you want to use your own context menu items with the spell checker items then you must do this
    <TextBox Margin="{StaticResource ControlMargin}"
            Controls:TextBoxHelper.IsSpellCheckContextMenuEnabled="True"
            Text="Enabled">
        <TextBox.ContextMenu>
            <ContextMenu>
                <MenuItem Header="This is only a Test-Item" />
            </ContextMenu>
        </TextBox.ContextMenu>
    </TextBox>
    • If you want to use your own context menu items with the deafult items then you must do this
    <TextBox Controls:TextBoxHelper.ClearTextButton="True"
            Controls:TextBoxHelper.UseFloatingWatermark="True"
            Controls:TextBoxHelper.Watermark="Watermark">
        <TextBox.ContextMenu>
            <ContextMenu>
                <MenuItem Header="Custom Item" />
                <Separator />
                <MenuItem Style="{DynamicResource MetroMenuItem}" Command="ApplicationCommands.Cut" />
                <MenuItem Style="{DynamicResource MetroMenuItem}" Command="ApplicationCommands.Copy" />
                <MenuItem Style="{DynamicResource MetroMenuItem}" Command="ApplicationCommands.Paste" />
            </ContextMenu>
        </TextBox.ContextMenu>
    </TextBox>
  • CustomDialog improvements #2775

    • New overloaded generic method ShowMetroDialogAsync to create and show custom dialogs (self created dialogs which are inherited from CustomDialog)
    // create and show a new custom dialog of the given type with the default dialog settings
    var customBaseMetroDialog = await this.ShowMetroDialogAsync<CustomBaseMetroDialog>();
    
    // create and show a new custom dialog of the given type with own settings
    var customBaseMetroDialog = await this.ShowMetroDialogAsync<CustomBaseMetroDialog>(this.metroDialogSettings);
    • Better handling for dialogs settings also with the already available ShowMetroDialogAsync method
    // create and show custom dialog with default settings
    await this.ShowMetroDialogAsync(new CustomBaseMetroDialog());
    
    // create and show custom dialog with own settings
    await this.ShowMetroDialogAsync(new CustomBaseMetroDialog(this.metroDialogSettings));
    // or
    await this.ShowMetroDialogAsync(new CustomBaseMetroDialog(this, this.metroDialogSettings));
    • It's now also possible to configure the dialog settings at the custom dialogs class itself.
    protected override MetroDialogSettings ConfigureSettings(MetroDialogSettings settings)
    {
        return new MyCustomDialogSettings();
    }
    • Here is the source for the given samples
    <dialogs:CustomDialog x:Class="ShowMetroDialogAsyncIssue.CustomBaseMetroDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:dialogs="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        mc:Ignorable="d" 
        d:DesignHeight="300" d:DesignWidth="300"
        Title="CustomBaseMetroDialog">
        <StackPanel>
            <TextBlock Text="This is a custom dialog based on BaseMetroDialog" />
            <Button Click="Close_OnClick">Close</Button>
        </StackPanel>
    </dialogs:CustomDialog>
    namespace ShowMetroDialogAsyncIssue
    {
        using System.Windows;
        using MahApps.Metro.Controls;
        using MahApps.Metro.Controls.Dialogs;
    
        public partial class CustomBaseMetroDialog : CustomDialog
        {
            public CustomBaseMetroDialog()
            {
                InitializeComponent();
            }
    
            public CustomBaseMetroDialog(MetroDialogSettings settings) : base(settings)
            {
                InitializeComponent();
            }
    
            public CustomBaseMetroDialog(MetroWindow parentWindow, MetroDialogSettings settings) : base(parentWindow, settings)
            {
                InitializeComponent();
            }
    
            private void Close_OnClick(object sender, RoutedEventArgs e)
            {
                (this.OwningWindow ?? (MetroWindow)Application.Current.MainWindow).HideMetroDialogAsync(this);
            }
        }
    }

Closed Issues / Pull Requests

Read more

MahApps.Metro 1.3.0

23 Sep 22:43
Compare
Choose a tag to compare
  <iconPacks:PackIconMaterial Kind="EmoticonCool" Height="32" Width="32" />  
  <iconPacks:PackIconModern Kind="Cupcake" Height="24" Width="24" />  
  <iconPacks:PackIconFontAwesome Kind="FontAwesome" Height="16" Width="16" />  
  <iconPacks:PackIconEntypo Kind="ThumbsUp" />  
  • New Auto Close feature for Flyout #2228 #1710 (@Sikta)
    • Enable this by set IsAutoCloseEnabled to true
    • Time changable by AutoCloseInterval (default 5000 ms)
  • Fix PasswordBoxBindingBehavior and IsWaitingForData #2355
    • Fixed: Behaviors in StylizedBehaviors should be detached on unload
    • Fixed: PasswordBoxBindingBehavior, it doesn't work e.g. in TabControl TabItems
    • IsWaitingForData for MetroButtonTextBox, MetroPasswordBox, MetroButtonPasswordBox, MetroButtonRevealedPasswordBox
    • PackIconMaterial Eye and ClearTextButton feature for MetroButtonRevealedPasswordBox
  • Added ContentStringFormat TemplateBinding to ToolTip #2359 (@nrpog) #2363
  • ControlsHelper.ButtonWidth for ComboBox and other stuff #2365
    • set ChromelessButtonStyle Padding to 0
    • new dependency property ButtonContentTemplate in TextBoxHelper
    • fix width of ClearText button if height change, e.g. for floating watermark
    • fix background state colors (IsPressed, IsMouseOver)
    • new own sytle MetroComboBoxDropDownToggleButtonStyle for ComboBox toggle button
  • Added EllipseDiameterScale to ProgressRing #2204 #2382 (@petvetbr)
  • WindowButtonCommands enhancements #2378
    • use ContentPresenter to show the WindowButtonCommands, so it's now possible easier to change the min/max/close button styles
    • enable changing min/max/restore/close button tooltip
    • new Win10 style/template: MahApps.Metro.Styles.WindowButtonCommands.Win10 and MahApps.Metro.Templates.WindowButtonCommands.Win10
      2016-05-17_15h27_28
      2016-05-17_15h27_40
  • Minor Automation API support for Flyouts and NumericUpDown #2381 #2166 (@petvetbr)
  • Dialog font sizes setting implementation #2380 #2383 (@petvetbr, @punker76)
    • changable via DialogTitleFontSize and DialogMessageFontSize
  • New attached dependency property TextButton in TextBoxHelper which handles the visibility of the button in MetroButtonPasswordBox and MetroButtonTextBoxstyles #2387
  • Win10 ToggleSwitch and ToggleSwitchButton #2410
    • ToggleSwitch is now inherited from HeaderedContentControl
    • new dependency property HeaderFontFamily for ToggleSwitch
    • new Win10 and Metro styles
      • MahApps.Metro.Styles.ToggleSwitchButton.Win10, MahApps.Metro.Styles.ToggleSwitch.Win10
      • MahApps.Metro.Styles.ToggleSwitchButton, MahApps.Metro.Styles.ToggleSwitch
    • new Win10 font family and size keys
      • ToggleSwitchFontFamily.Win10, ToggleSwitchHeaderFontFamily.Win10
      • ToggleSwitchFontSize.Win10, ToggleSwitchHeaderFontSize.Win10
    • fixed broken IsPressed state
    • new brushes for the Win10 styles
      MahApps.Metro.Brushes.ToggleSwitchButton.PressedBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OffBorderBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OffMouseOverBorderBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OffDisabledBorderBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OffSwitchBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchDisabledBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchMouseOverBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorMouseOverBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorCheckedBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorPressedBrush.Win10
      MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorDisabledBrush.Win10
    • new brush and color keys for all accent colors: AccentBaseColor and AccentBaseColorBrush (full color)
  • Flyout changes
    • SetFlyoutOpenAction is now obsolete
    • new/update template names BackButton, BackHeaderText
    • new CloseCommandParameter dependency property
  • FlipView changes
    • MouseOverGlowEnabled is now obsolete, use MouseHoverBorderEnabled instead
    • new MouseHoverBorderBrush and MouseHoverBorderThickness dependency property
  • New dependency property CircularNavigation for the FlipView #2389
  • BindsTwoWayByDefault removed from IsActiveProperty of ProgressRing #2438 (@xxMUROxx)
  • Fix Flyout theme usage in Caliburn.Micro sample
  • New dependency properties for Tile control: HorizontalTitleAlignment and VerticalTitleAlignment #2293
  • New attached dependency properties TextBoxHelper.ButtonFontSize #2345 Also add a new font size ClearTextButtonFontSize (default to 16) for all 'ClearText' buttons
  • Added a MetroFlatToggleButton style like MetroFlatButton #2481 (@Koopakiller)
  • New MetroThumbContentControl for MetroWindow title #2487
    • It's now possible again to have title templates with clickable controls
    • Replaced TitleCaps with TitleCharacterCasing (marked as obsolete). Now title can be Upper, Lower or Normal
    • Add new styles MahApps.Metro.Styles.ContentControlEx and MahApps.Metro.Styles.MetroThumbContentControl
  • Flyout improvement caused by #2485 #2523
    • use ContentControlEx for header, so it's now possible to use ControlsHelper attached properties ContentCharacterCasing, HeaderFontSize, HeaderFontWeight and HeaderFontStretch
    • new attached property ControlsHelper.HeaderMargin to handle the Margin from Flyout side
  • New dependency property ShowDialogsOverTitleBar for `MetroWindow? which allows showing title bar while showing dialogs (fixes #2109) #2534 (@Deadpikle)
  • Store/Restore focused element methods which will be used automatically with dialogs (but can be also used explicit) #2532
  • Added new methods ShowModalInputExternal, ShowModalLoginExternal and ShowModalMessageExternal. #2518 (@adeniltonbs)
  • New brush keys NonActiveWindowTitleColorBrush and NonActiveBorderColorBrush
  • Add IsNavigationEnabled Property in FlipView #2563 (@yoker)
  • Another SplitButton and DropDownButton fixes #2572
    • change SplitButton to Selector to get access to SelectedValuePath and SelectedValue
    • fixed Popup alignmentand close Popup on button click
    • add ItemsPanel template binding
    • add 2 new dependency properties ArrowMouseOverBrush, ArrowPressedBrush
    • enable Items usage (for SplitButton and DropDownButton)
    • add new dependency properties ContentTemplate, ContentTemplateSelector and ContentStringFormat for DropDownButton, if this proeprties are empty DropDownButton will be use the ItemXYZ properties
    • add protected virtual void SetContextMenuPlacementTarget(ContextMenu contextMenu) to DropDownButton
  • Glow activation/resizing/dpi fixes #2581
    • mouse activation bug if the MetroWindow uses a Glow
    • resizing/cursor bug on higher DPI
    • the glow can come on top if the main app has a second window and the user minimize and restore the main app again
    • the window doesn't zoom in vertical height if the user double clicks on the top Glow
  • Introduce new styles for circle button and circle toggle button which removes the non removable inner margin.
    • MahApps.Metro.Styles.MetroCircleButtonStyle
    • MahApps.Metro.Styles.MetroCircleToggleButtonStyle
    • MahApps.Metro.Styles.MetroCircleFocusVisual

Closed Issues

  • #2003 "VisualButton" That makes working with the XAML icons easier
  • #2114 Icon color not changing on theme change (as #1029)
  • #2275 Embed Material Design Icons (in addition to Modern UI Icons)?
  • #1710 New "Auto Close" feature for Flyouts
  • #2354 TextBoxHelper.ButtonClicked should pass ButtonCommandParameter to ButtonCommand.CanExecute
  • #2343 Win8MetroPasswordBox Preview does not work with Tabcontrol (item > 1)
  • #2352 Can't set ComboBox buttons width with ControlsHelper.ButtonWidth
  • #2370 Pasting over selection in NumericUpDown doesn't work #2371 (@michaelprewecki)
  • #1901 ThemeChanging causing app crash
  • #1439 ComboBox in Toolbar closes if Scrollbar track/button is clicked
  • #1972 Changing Close button icon
  • #2166 Controls Do not get distinct automation ID's
  • #2204 Progress ring dot scaling seems to be wrong (1.1.2)?
  • #2380 Missing FontSize Property for ProgressDialog/ShowProgressAsync
  • #2385 ButtonCommandMetroTextBox text displaid over icon.
  • #2220 Why in the MetroButtonTextBox the visibility of PART_ClearText is not managed as the MetroTextBox?
  • #2311 ComboBox won't toggle closed in ribbon
  • #2396 ShowMetroDialogAsync does not raise DialogManager.DialogOpened event.
  • #2402 Window Command ItemSource Binding
  • #2403 NumericUpDown HasDecimals Is Broken. #2404 (@feinstein)
  • #2415 ToggleSwitch "Click" event not triggered #2421
  • #2413 Focusable (Selectable) Text in MessageDialog
  • #2409 MetroWindow can be closed while a modal dialog is shown
  • #2348 Thumb height of slider control
  • #2340 How to change Datagrid Header Background using our custom style and based on MetroColumnHeader?
  • #2390 PasswordBox CapsLockIndicator is not refreshed when host window is inactive
  • #2416 WPF inside WF, Cannot close Flyouts and FlyView doesn't select
  • #2432 Modal Fl...
Read more

MahApps.Metro 1.3.0-ALPHA164

17 Jun 13:36
Compare
Choose a tag to compare
Pre-release

pre-release notes

MahApps.Metro 1.2.4

21 Jan 21:58
Compare
Choose a tag to compare

Bugfixes

  • #2288 First 30 units of flyout aren't clickable
  • #2324 DataGrid activated by Titlebar (rows are hovered while dragging a window over a DataGrid)
  • #2287 IsWindowDraggable broke starting in 1.2

MahApps.Metro 1.2.3

16 Jan 22:02
Compare
Choose a tag to compare

Bugfixes

  • #2320 Fixed window can't be moved around using a touch screen

MahApps.Metro 1.2.2

12 Jan 19:20
Compare
Choose a tag to compare

Bugfixes

  • Fixed strong sign assembly stuff