Example #1
0
        private void AddSelectedElement(IUiElement uiElement, bool multi)
        {
            var ctrl = Keyboard.IsKeyDown(Key.RightCtrl) || Keyboard.IsKeyDown(Key.LeftCtrl);

            _graphViewModel.AddSelectedElement(uiElement.Id, ctrl, multi);
        }