public ScrollAdorner(UIElement element) : base(element) { StyleManager.StyleChanged += (o, e) => { _Brush = StyleManager.Brush(StylesXL.Brushes.ControlSelected); InvalidateVisual(); }; SnapsToDevicePixels = true; IsHitTestVisible = false; }
public SpinAdorner(Control element) : base(element) { StyleManager.StyleChanged += (o, e) => { _Foreground = StyleManager.Brush(StylesXL.Brushes.ControlSelected); _Background = StyleManager.Brush(StylesXL.Brushes.ControlSelected); InvalidateVisual(); }; SnapsToDevicePixels = true; IsHitTestVisible = false; }