无法使用 Caliburn Micro 动态编辑 TextBlock 文本

Can't edit TextBlock Text with caliburn micro dynamically

以前可能已经回答过这个问题。 我正在尝试从具有字符串的对象动态编辑我的 TextBlock。 然而。它似乎没有从视图中更新。但值已更新。只是它不显示它。有什么办法吗?有重绘方法吗?

我该怎么办?

代码:

视图模型:

private String title = "";

public string Title { get { return title; }
    set
    {
        title = value;
        NotifyOfPropertyChange(() => Title);
    }
}

View.XAML:

        <TextBlock x:Name="Title" 
                   Text="{Binding Path=Title, Mode=TwoWay}"
                   Grid.Row="2" 
                   VerticalAlignment="Top" 
                   FontSize="18" 
                   Grid.ColumnSpan="3" 
                   TextAlignment="Center" 
 FontWeight="Light"/>

看来这里的解决方案是使用 Caliburns EventAggregator 与多个 VM 通信。这是我想出的解决方案,现在可以使用了:)