Пример #1
0
        private void OnConnectorItemDragging(object sender, ConnectorItemDraggingEventArgs e)
        {
            e.Handled = true;

            var connectionDraggingEventArgs =
                new ConnectionDraggingEventArgs(ConnectionDraggingEvent, this,
                                                _draggingSourceConnector.ParentElementItem, _draggingConnectionDataContext,
                                                _draggingSourceConnector);

            RaiseEvent(connectionDraggingEventArgs);
        }
Пример #2
0
        private void OnConnectorItemDragging(object sender, ConnectorItemDraggingEventArgs e)
        {
            e.Handled = true;

            var connectionDraggingEventArgs =
                new ConnectionDraggingEventArgs(ConnectionDraggingEvent, this,
                    _draggingSourceConnector.ParentElementItem, _draggingConnectionDataContext,
                    _draggingSourceConnector);
            RaiseEvent(connectionDraggingEventArgs);
        }