Looping over XAML defined labels

后端 未结 6 1297
傲寒
傲寒 2021-01-18 08:58

I have a WPF application with many labels.

         


        
6条回答
  •  说谎
    说谎 (楼主)
    2021-01-18 09:13

    You could add all those Label to a List within the form's constructor.

    It is a tedious work, but you'll only have to do it once.

    List

提交回复
热议问题