WPF TextBlock text Binding

后端 未结 2 1408
旧巷少年郎
旧巷少年郎 2020-12-20 19:21

the TextBlock binding does not work and I cant figure why...

(This Code Works but the TextBlock does not get Updated )

XAML



        
2条回答
  •  不知归路
    2020-12-20 20:03

    Try this:

    
    

    And set your DataContext like:

    filterAllText.DataContext = LogSession.test;
    

提交回复
热议问题