diff --git a/docs/release-notes/1.2.0.md b/docs/release-notes/1.2.0.md index cfd4684fca..32fe5477f3 100644 --- a/docs/release-notes/1.2.0.md +++ b/docs/release-notes/1.2.0.md @@ -17,6 +17,23 @@ This is a bug fix and fetaure release of MahApps.Metro. - Use attached property in Window XAML: `Dialog:DialogParticipation.Register="{Binding}"` - And then `IDialogCoordinator` / `DialogCoordinator.Instance` to launch dialogs from inside a VM - See: http://dragablz.net/2015/05/29/using-mahapps-dialog-boxes-in-a-mvvm-setup/ +- `ToggleSwitch` improvements and fixes #1945 + - new dependency property `ToggleSwitchButtonStyle` + - `BorderThickness` and `BorderBrush` for toggle button style now customizable + - new font keys + + `ToggleSwitchFontFamily` and `ToggleSwitchHeaderFontFamily` + + `ToggleSwitchFontSize`and `ToggleSwitchHeaderFontSize` + - new dependency properties to change brushes + + `OnSwitchBrush` and `OffSwitchBrush` + + `ThumbIndicatorBrush` and `ThumbIndicatorDisabledBrush` + - new dependency property `ThumbIndicatorWidth` + - `Validation.ErrorTemplate` support #1917 + - Keyboard focus if the `ToggleSwitch` itself or the toggle button was clicked + - Fixed on/off label binding issue #1867 + - introduce commands for mvvm usage #1464 + + `CheckChangedCommand`, `CheckedCommand` and `UnCheckedCommand` + + `CheckChangedCommandParameter`, `CheckedCommandParameter` and `UnCheckedCommandParameter` + # Bugfixes @@ -35,3 +52,5 @@ This is a bug fix and fetaure release of MahApps.Metro. - Fixed ResizeGrip usage by setting the WindowChrome ResizeGripDirection #1937 #1832 - Fixed wrong overlapping window button commands with `ShowInTaskbar=False` #1940 #1912 - Fixed `IsReadOnly` usage/binding for `NumericUpDown` (and `TextBox`...) #1942 #1914 +- Fixed `ToggleSwitch` validation shows red border but doesn't show error text #1917 #1945 +- Fixed MVVM Binding for `OnLabel`/`OffLabel` at `ToggleSwitch` #1867 #1945