コード例 #1
0
        public CurvePolygonPointView()
        {
            InitializeComponent();

            if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))
            {
                (this as IMouseProximityActivatable).IsActivated = true;
            }
            else
            {
                (this as IMouseProximityActivatable).IsActivated = false;
                MouseProximityActivation.Register(this);
            }
        }
コード例 #2
0
        public ConnectorDot()
        {
            InitializeComponent();
            AnyDotDragging += OnAnyDotDragging;

            if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))
            {
                (this as IMouseProximityActivatable).IsActivated = true;
            }
            else
            {
                (this as IMouseProximityActivatable).IsActivated = false;
                MouseProximityActivation.Register(this);
            }
        }