最佳答案
我觉得愚蠢,但不能找到如何添加一个文本到 WPF 标签控件的代码。就像下面的 TextBlock:
DesrTextBlock.Text = "some text";
在 Label 中做这件事的等价属性是什么?
DesrLabel.??? = "some text"; //something like this