예제 #1
0
        private void OnGridChanged(object sender, RoutedEventArgs args)
        {
            args.Handled = true;
            if (_ignoreControls)
            {
                return;
            }

            Grid = null;
            PolygonGridBox.InvalidateVisual();
        }
예제 #2
0
 protected override void OnMouseMove(MouseEventArgs args)
 {
     base.OnMouseMove(args);
     args.Handled = true;
     PolygonGridBox.HandleMouseMove(args);
 }
예제 #3
0
 protected override void OnMouseDown(MouseButtonEventArgs args)
 {
     base.OnMouseDown(args);
     args.Handled = true;
     PolygonGridBox.HandleMouseDown(args);
 }