Releases: MahApps/MahApps.Metro
MahApps.Metro 1.5.0
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
andOptionsItemCommand
Command
forHamburgerMenuItem
- New property
PaneForeground
for HamburgerMenu and Splitview and new Foreground/Background brushesMahApps.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 a new dependency property
- Add
HamburgerVisibility
property UWPCommunityToolkit #1020 - Set
Content
forHamburgerMenu
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.
- Add
MahApps.Metro.Styles.HamburgerMenu
style key to the HamburgerMenu.
- New
- 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
- The
ControlsHelper.CornerRadius
can now used forSplitButton
andDropDownButton
. - New underline types for
TabControl
andMetroTabControl
#2902- Adds a new
Underlined
attached property toTabControlHelper
which controls the type of the underline type. The oldIsUnderlined
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
- Adds a new
- New underline types also for
AnimatedTabControl
andAnimatedSingleRowTabControl
styles and forMetroAnimatedTabControl
andMetroAnimatedSingleRowTabControl
#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 wrongMargin
forComboBox
andComboBoxItem
#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 aFlyout
is modal. - Fix background and foreground usage of controls in a
Flyout
if user changes theme on the fly. #2337 TheFlyout
has a different background, so we should override some background and foreground brushes and colors. - Change
Flyout
fromContentControl
toHeaderedContentControl
which has the correct properties for headers. - Enable
Border
forFlyout
- Fix
- Use
GrayBrush7
andWhiteBrush
for menuSeparator
instead fixed colors. - Fix BindingExpression at
DropDownButton
. Don't setItemTemplate
toContentTemplate
,ItemTemplateSelector
toContentTemplateSelector
andItemStringFormat
toContentStringFormat
. This breaks the whole usage of the content stuff and shows a BindingExpression path error. #2883 - New
UsernameCharacterCasing
property forLoginDialogSettings
#2683 - Fix
SelectionChanged
event ofSplitButton
which fires now only once. - Add
TransitionCompleted
event toMetroContentControl
andWindowTransitionCompleted
event toMetroWindow
which will be fired after the loaded Storyboard is completed. - Add new
WatermarkAlignment
attached property toTextBoxHelper
which indicates the horizontal alignment of the watermark (incl. floating watermark).
- Add new
DataGridHelper
withEnableCellEditAssist
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....
MahApps.Metro 1.4.3
MahApps.Metro 1.4.2
Changes / Fixes
- #2814 Correct display of media buttons in
HotKeyBox
(thx @thoemmi) - 7fcc6b7 Fix breaking changes for obsolete properties
ButtonHelper.PreserveTextCase
,ButtonHelper.CornerRadius
andControlsHelper.ButtonWidth
- a1d199d Fix binding to Content of HamburgerMenu
- #2799 DateTimePicker SelectedDate issue (thx @xxMUROxx)
- Fix issue where
SelectedDate
is set to theDisplayDate
if theSelectedDate
isDateTime.MinValue
. This issue appears when binding to a property of DateTime and the date isDateTime.MinValue
.
- Fix issue where
- 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
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
MahApps.Metro 1.4.0
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)
-
- New property
IconScalingMode
to MetroWindow. It's forwarded toMultiFrameImage.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.
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.
- New property
-
Changes for
DateTimePicker
andTimePicker
#2710- Change
DateTimePicker.SelectedDate
toBindsTwoWayByDefault
. 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
but00:00:00
and0001.01.01 00.00.00
respectively - Change icon for
TimePicker
#2700 (@p76984275) - Hide
DateTimePicker
andTimePicker
on lost focus. Fix also Shift+Tab focus moving.
- Change
-
New
SplitView
andHamburgerMenu
control #2704- The
SplitView
source comes from theUniversalWPF
GitHub repo (from @dotMorten) with some changes from @Evangelink and @punker76. - The
HamburgerMenu
source comes from theUWPCommunityToolkit
GitHub repo.
- The
-
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 stylesMetroButtonTextBox
andSearchMetroTextBox
can now use the button also ifIsReadOnly="True"
(only if the button command is set) -
New
AutoWatermark
attached property atTextBoxHelper
#2722 (@xxMUROxx) which is able to get theDisplayAttribute
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
andDateTimePicker
- Binding that is supported
-
Flyout
changes for betterMargin
usage- This changes affects only users who used the sample from the source which shows how to use the
FlyoutsControl
actual width and aMargin
for theFlyout
- It's now possible to work without the actual width and use only the
Margin
orHorizontalContentAlignemnt
for Left/Right andVerticalContentAnlignment
for Top/BottomFlyout
.Margin="200 30 0 0"
andPosition="Right"
Flyout with left an top MarginHorizontalContentAlignment="Stretch"
andPosition="Right"
Flyout which covers the whole window
- This changes affects only users who used the sample from the source which shows how to use the
-
Changed style names (and changes, see #2767) for
- Default
Button
(ButtonBase
) ->MahApps.Metro.Styles.MetroButton
- Default
ToggleButton
->MahApps.Metro.Styles.MetroToggleButton
- Default
-
Fixed
Expander
closing animation and make it possible to change both animations (expand and collapse). #2769 (@ Alkalinee) -
Updated
TabControl
andTabItem
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 fromCustomDialog
)
// 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); } } }
- New overloaded generic method
Closed Issues / Pull Requests
- [#2674](...
MahApps.Metro 1.3.0
- Switched from Ms-PL to MIT license #2646
- New
DateTimePicker
andTimePicker
controls #2299 #2510 (@xxMUROxx) - New Hotkey control
HotKeyBox
#2322 (@thoemmi) - New 'Remember' CheckBox in
LoginDialog
#2308 #2305 (@manekovskiy) - New
IconPacks
for MahApps:PackIconMaterial
,PackIconModern
,PackIconFontAwesome
andPackIconEntypo
#2328 availabe at MahApps.Metro.IconPacks
<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 forFlyout
#2228 #1710 (@Sikta)- Enable this by set
IsAutoCloseEnabled
to true - Time changable by
AutoCloseInterval
(default 5000 ms)
- Enable this by set
- Fix
PasswordBoxBindingBehavior
andIsWaitingForData
#2355- Fixed: Behaviors in
StylizedBehaviors
should be detached on unload - Fixed:
PasswordBoxBindingBehavior
, it doesn't work e.g. in TabControl TabItems IsWaitingForData
forMetroButtonTextBox
,MetroPasswordBox
,MetroButtonPasswordBox
,MetroButtonRevealedPasswordBox
- PackIconMaterial
Eye
and ClearTextButton feature forMetroButtonRevealedPasswordBox
- Fixed: Behaviors in
- Added
ContentStringFormat
TemplateBinding to ToolTip #2359 (@nrpog) #2363 ControlsHelper.ButtonWidth
forComboBox
and other stuff #2365- set
ChromelessButtonStyle
Padding to 0 - new dependency property
ButtonContentTemplate
inTextBoxHelper
- fix width of ClearText button if height change, e.g. for floating watermark
- fix background state colors (
IsPressed
,IsMouseOver
) - new own sytle
MetroComboBoxDropDownToggleButtonStyle
forComboBox
toggle button
- set
- Added
EllipseDiameterScale
toProgressRing
#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
andMahApps.Metro.Templates.WindowButtonCommands.Win10
- Minor Automation API support for
Flyouts
andNumericUpDown
#2381 #2166 (@petvetbr) - Dialog font sizes setting implementation #2380 #2383 (@petvetbr, @punker76)
- changable via
DialogTitleFontSize
andDialogMessageFontSize
- changable via
- New attached dependency property
TextButton
in TextBoxHelper which handles the visibility of the button inMetroButtonPasswordBox
andMetroButtonTextBox
styles #2387 - Win10
ToggleSwitch
andToggleSwitchButton
#2410ToggleSwitch
is now inherited fromHeaderedContentControl
- new dependency property
HeaderFontFamily
forToggleSwitch
- 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
andAccentBaseColorBrush
(full color)
Flyout
changes- SetFlyoutOpenAction is now obsolete
- new/update template names BackButton, BackHeaderText
- new
CloseCommandParameter
dependency property
FlipView
changesMouseOverGlowEnabled
is now obsolete, useMouseHoverBorderEnabled
instead- new
MouseHoverBorderBrush
andMouseHoverBorderThickness
dependency property
- New dependency property
CircularNavigation
for theFlipView
#2389 BindsTwoWayByDefault
removed fromIsActiveProperty
ofProgressRing
#2438 (@xxMUROxx)- Fix Flyout theme usage in
Caliburn.Micro
sample - New dependency properties for
Tile
control:HorizontalTitleAlignment
andVerticalTitleAlignment
#2293 - New attached dependency properties
TextBoxHelper.ButtonFontSize
#2345 Also add a new font sizeClearTextButtonFontSize
(default to 16) for all 'ClearText' buttons - Added a
MetroFlatToggleButton
style like MetroFlatButton #2481 (@Koopakiller) - New
MetroThumbContentControl
forMetroWindow
title #2487- It's now possible again to have title templates with clickable controls
- Replaced
TitleCaps
withTitleCharacterCasing
(marked as obsolete). Now title can beUpper
,Lower
orNormal
- Add new styles
MahApps.Metro.Styles.ContentControlEx
andMahApps.Metro.Styles.MetroThumbContentControl
Flyout
improvement caused by #2485 #2523- use
ContentControlEx
for header, so it's now possible to useControlsHelper
attached propertiesContentCharacterCasing
,HeaderFontSize
,HeaderFontWeight
andHeaderFontStretch
- new attached property
ControlsHelper.HeaderMargin
to handle the Margin from Flyout side
- use
- 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
andShowModalMessageExternal
. #2518 (@adeniltonbs) - New brush keys
NonActiveWindowTitleColorBrush
andNonActiveBorderColorBrush
- 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
andContentStringFormat
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...
MahApps.Metro 1.3.0-ALPHA164
pre-release notes
MahApps.Metro 1.2.4
MahApps.Metro 1.2.3
Bugfixes
- #2320 Fixed window can't be moved around using a touch screen
MahApps.Metro 1.2.2
Bugfixes
- Fixed strong sign assembly stuff