mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 02:21:15 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user