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
This commit is contained in:
2017-08-19 15:10:31 +03:00
parent c8b1c5e82c
commit 63aff83e1d
9 changed files with 230 additions and 143 deletions

View File

@@ -33,6 +33,17 @@ namespace Diagrams
}
#endregion
public static bool GetCanRotate(DependencyObject obj) {
return (bool)obj.GetValue(CanRotateProperty);
}
public static void SetCanRotate(DependencyObject obj, bool value) {
obj.SetValue(CanRotateProperty, value);
}
public static readonly DependencyProperty CanRotateProperty =
DependencyProperty.RegisterAttached("CanRotate", typeof(bool), typeof(VisualExtensions), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits));
private static void OnChangeLODZoomProperty(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var element = d as FrameworkElement;