我觉得很愚蠢,但无法找到如何在代码中向WPF Label控件添加文本.像下面的TextBlock一样:
DesrTextBlock.Text = "some text";
这样做的标签中的等价物是什么?
DesrLabel.??? = "some text"; //something like this
c# wpf
c# ×1
wpf ×1