protected override void AttachCore(RectangleSelector selector, Plotter plotter) { base.AttachCore(selector, plotter); Plotter.CentralGrid.MouseLeftButtonDown += OnMouseLeftButtonDown; Plotter.CentralGrid.MouseLeftButtonUp += OnMouseLeftButtonUp; Plotter.CentralGrid.MouseMove += OnMouseMove; }
protected override void AttachCore(RectangleSelector selector, Plotter plotter) { base.AttachCore(selector, plotter); Plotter.CentralGrid.MouseLeftButtonDown += OnMouseLeftButtonDown; Plotter.CentralGrid.MouseLeftButtonUp += OnMouseLeftButtonUp; Plotter.CentralGrid.MouseMove += OnMouseMove; }
protected override void AttachCore(RectangleSelector selector, Plotter plotter) { }
protected override void AttachCore(RectangleSelector selector, Plotter plotter) { }
protected override void AttachCore(RectangleSelector selector, Plotter plotter) { base.AttachCore(selector, plotter); Plotter.CentralGrid.MouseUp += CentralGrid_MouseUp; }
protected override void AttachCore(RectangleSelector selector, Plotter plotter) { base.AttachCore(selector, plotter); Plotter.CentralGrid.MouseUp += CentralGrid_MouseUp; }
private static void OnRectangleTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RectangleSelector owner = (RectangleSelector)d; owner.OnTemplateChanged(); }
private static void OnModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RectangleSelector owner = (RectangleSelector)d; owner.UpdateModeHandler(); }
private static void OnSelectedRectangleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RectangleSelector owner = (RectangleSelector)d; // todo }