Trigger won't change Background

前端 未结 3 1843
失恋的感觉
失恋的感觉 2021-01-06 15:13

I\'m trying to create a template for buttons in order to prevent the graying of the control when it is disabled, it is working just fine, but for some reason it won\'t chang

3条回答
  •  悲&欢浪女
    2021-01-06 15:48

    Just a note: the Background property is of type Brush, so you should write

    
        ...
    
    

    instead of

    
        
            
        
        ...
    
    

提交回复
热议问题