Skip to content

Latest commit

 

History

History
108 lines (98 loc) · 11.1 KB

1.6.0.md

File metadata and controls

108 lines (98 loc) · 11.1 KB

1.6.0 Notes

Features / Changes / Fixes

  • Change IsPaneOpen property of HamburgerMenu to FrameworkPropertyMetadataOptions.BindsTwoWayByDefault. #2926
  • Add ContentStringFormat / ContentTemplateSelector to ContentPresenter of RadioButton. #2954 @pmccowat
  • Add ContentStringFormat / ContentTemplateSelector to ContentPresenter of CheckBox.
  • DisplayFormat for time and date in DateTimePicker and TimePicker #2930 @xxMUROxx
  • Inherit FontFamily and FontSize for CalendarDayButton and CalendarButton from Calendar.
  • It is now possibile to set FontFamily and FontSize to DateTimePicker / TimePicker. #2935 @xxMUROxx
  • New MahApps.Metro.Styles.MetroWatermarkTextBlock style. Makes it easier to set custom properties like FontFamily or FontSize for all Watermarks.
  • Enable LayoutTransform and RenderTransform on MetroWindow #2991 @batzen
  • Fixing a few issues in ThemeManager #2992 @batzen
    • ThemeManager did not look at merged dictionaries the way WPF did. WPF looks at them in a reverse order and so should we.
    • StringComparison should be OrdinalIgnoreCase
    • Added some missing documentation
    • Removed "metro" from documentation to ease sharing of code with Fluent.Ribbon
  • Fix WPF-BindingLeak: Bind to property of non INotifyPropertyChanged (BorderThickness) without using BindingMode.OneTime #2997 @xxMUROxx
  • 2c97fd4 Fix brushes for MetroProgressBar
  • 5c4471c Use DynamicResource for all brushes and freeze it too.
  • 8c0f893 Fix MetroProgressBar does not work inside ControlTemplate
  • Fix a typo that stops users from setting the CloseButtonMargin property of MetroTabItem. #3019 @5pyd3r
  • Replacing WindowChrome and related things with reference to ControlzEx #3021
  • Add new property SnapToMultipleOfInterval to NumericUpDown which indicates if the NumericUpDown should round the value to the nearest possible interval when the focus moves to another element. #2952 @xxMUROxx
  • It's now possible to change the popup border thickness and padding for ComboBox. So there are 3 new resource keys added. #3025
    • ComboBoxBorderThemeThickness (default 1)
    • ComboBoxPopupBorderThemeThickness (default 1)
    • ComboBoxPopupBorderThemePadding (default 1)
  • It's now easier to change the header padding for GroupBox and Expander, so new resource keys are available
    • GroupBoxHeaderThemePadding (default 4)
    • ExpanderHeaderThemePadding (default 2)
    • ExpanderToggleButtonEllipseThemeSize (default 18)
  • Fix not updating the text of TimePicker and DateTimePicker after changing the culture.
  • Badged control has now a different look when disabled. thx @xxMUROxx
    • Adds new brush to light and dark themes MahApps.Metro.Brushes.Badged.DisabledBackgroundBrush
  • Don't catch TextChangedEvent in NumericUpDown #3066 @Silv3rcircl3
  • Watermark fixes and improvements
    • Fix right aligned floating 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 changes / enhancements
    • Add StandardGroupBox style
    • Add StandardExpander style
    • TabControlHelper.CloseButtonEnabled attached property to show / hide the close button (default is true).
    • TabControlHelper.CloseTabCommand attached property which executes if the TabItem will be closed.
    • TabControlHelper.CloseTabCommandParameter attached property which will be passed to the CloseTabCommand.

Breaking Change

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:

Closed Issues

  • #2926 IsPaneOpen property in Hamburger Menu is not properly set after opening/closing pane
  • #2933 Hamburguer menu issue
  • #2951 Window with showactivated=false and sizetocontent=WidthAndHeight is activated in Mahapps.Metro v1.5
  • #2958 NumericUpDown: If HasDecimals is set to false and StringFormat was bound, HasDecimals will be set to true after unloading and loading the control
  • #2963 WindowCommands with ItemTemplateSelector not working
  • #2956 property ToolTip of ProgressRing does not work
  • #2938 DataGridNumericUpDownColumn StringFormat binding
  • #2622 DateTimePicker - Format
  • #2491 Question: Changing font style for watermark
  • #2985 TimePicker 24hour format selection
  • #2996 Mahapps window steals focus
  • #3000 Empty Watermark leaves blank border on date time controls
  • #3001 DatePicker padding do not work
  • #2727 Maximizing Window Fails on Rare Occasions
  • #2729 [Enhancement] Don't remove window border if MaxWidth/MaxHeight < Resolution on maximize
  • #2855 Maximize Window with Animations On and Max Width/Height Fails
  • #2962 MetroStatusBar Style and Prism RegionManager
  • 44c2363 Fix possible System.Windows.Data warning for ComboBoxItem, if a ComboBox is inside a ContentControl.
  • #2983 NumericUpDown Internal Text Doesn't Update When Expected
  • #3026 NumericUpDown didn't update when lost focus, StringFormat has no effect to the content string
  • #2952 NumericUpDown snap to interval
  • #3031 NumericUpDown do not fire at certain conditions
  • #3034 GlowBrush="{DynamicResource AccentColorBrush}" is causing a ComponentModel Exception in UpdateCore
  • #3038 Update from Version 0.13.1 to a higher one
  • #3037 Should we remove install.ps1 from nuspec?
  • #3025 ComboBox popup border thickness problem
  • #3043 Width parse error
  • #3045 Clicking on the "X" button added by TextBoxHelper.ClearTextButton does not clear the databinding target
  • #3049 TimePicker fails to parse times with an AM/PM. #3050 @toddburnside
  • #3054 WindowsSettingBehaviour broken after using ControlzEx
  • #3028 SaveWindowPosition causes application to crash
  • #3023 Custom Dialog Theme Issue
  • #2990 TextBox memory leak
  • #3017 SplitButton with custom ItemTemplate - Source change does not always update layout
  • #2977 Badge must have a different look when disabled
  • #2937 Fuzzy button outline #3064 @n00bje
  • #3067 Right aligned floating Watermark goes behind clear button
  • #3068 AutoWatermark attached property has no effect on HotKeyBox
  • #2884 [Feature Request] Watermark Trimming
  • #2889 [Feature Request] Watermark Wrapping
  • #3070 VS GroupBox style
  • #957 Expander icon in VS theme
  • #1731 VS Theme TabItem Question