From 63aff83e1db2834a5722071524280c7feefa3c18 Mon Sep 17 00:00:00 2001 From: VitalickS Date: Sat, 19 Aug 2017 15:10:31 +0300 Subject: [PATCH] new version : Diagram Rotate thumb optional through VisualExtensions, 1 new behavior, BrightSharpWindowStyle release candidate, style.blue fix, TabControl + leadingelement, Expander toggle on full header width --- BrightSharp.Ui.Tests/CustomWindow.xaml | 4 +- BrightSharp.Ui.Tests/MainWindow.xaml | 54 ++-- .../Behaviors/SelectAllTextOnFocusBehavior.cs | 33 +++ BrightSharp/BrightSharp.csproj | 1 + .../Resources/ResizeRotateChrome.xaml | 10 +- BrightSharp/Diagrams/VisualExtensions.cs | 11 + BrightSharp/Generic.xaml | 245 ++++++++++-------- BrightSharp/Mvvm/ViewModelBase.cs | 13 +- BrightSharp/Style.Blue.xaml | 2 +- 9 files changed, 230 insertions(+), 143 deletions(-) create mode 100644 BrightSharp/Behaviors/SelectAllTextOnFocusBehavior.cs diff --git a/BrightSharp.Ui.Tests/CustomWindow.xaml b/BrightSharp.Ui.Tests/CustomWindow.xaml index b106d0c..9b690fe 100644 --- a/BrightSharp.Ui.Tests/CustomWindow.xaml +++ b/BrightSharp.Ui.Tests/CustomWindow.xaml @@ -6,10 +6,10 @@ xmlns:bs="http://schemas.brightsharp.com/developer" xmlns:local="clr-namespace:BrightSharp.Ui.Tests" mc:Ignorable="d" ResizeMode="CanResizeWithGrip" - Height="640" Width="1000" Style="{DynamicResource TestWindowStyle}"> + Height="640" Width="1000" Style="{DynamicResource BrightSharpWindowStyle}"> - + Custom WINDOW (BrightSharpWindowStyle) diff --git a/BrightSharp.Ui.Tests/MainWindow.xaml b/BrightSharp.Ui.Tests/MainWindow.xaml index fa82983..76f2ba5 100644 --- a/BrightSharp.Ui.Tests/MainWindow.xaml +++ b/BrightSharp.Ui.Tests/MainWindow.xaml @@ -4,7 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:BrightSharp.Ui.Tests" xmlns:viewModel="clr-namespace:BrightSharp.Ui.Tests" - Style="{DynamicResource TestWindowStyle}" + Style="{DynamicResource BrightSharpWindowStyle}" ResizeMode="CanResizeWithGrip" xmlns:ex="http://schemas.brightsharp.com/developer" xmlns:bsDiag="http://schemas.brightsharp.com/diagrams" @@ -36,7 +36,7 @@