private void btnConfirm_Click(object sender, RoutedEventArgs e) { gui.NodeNameChanged(firstNode, txtName.Text); var binding = BindingOperations.GetMultiBindingExpression(nodeIcon, IconShape.DisplayTextProperty); binding.UpdateTarget(); Update(); }