Exemplo n.º 1
0
        public void OnSearchElementClicked(NodeModel nodeModel, Point position)
        {
            bool useDeafultPosition = position.X == 0 && position.Y == 0;

            dynamoViewModel.ExecuteCommand(new DynamoModel.CreateNodeCommand(
                                               nodeModel, position.X, position.Y, useDeafultPosition, true));

            dynamoViewModel.ReturnFocusToSearch();
        }