XAML - Generic textbox stylewith triggers / parameters?

后端 未结 2 1251
野趣味
野趣味 2021-01-16 11:51

I want to be able to have a generic style template that can switch colors of my textboxes based on a bool. But I don\'t want to have to create a unique style for each textb

2条回答
  •  半阙折子戏
    2021-01-16 12:17

    You can use the Tag property of TextBox

    
    
    
    
    
    

提交回复
热议问题