How do I programmatically change the Title in a wpf window?

前端 未结 2 842
礼貌的吻别
礼貌的吻别 2020-12-11 00:41

How do I programmatically change the Title in a wpf window?


Change the

2条回答
  •  攒了一身酷
    2020-12-11 00:59

    To change it you can simply alter the Title property from your code:

    this.Title = "Something new";
    

提交回复
热议问题