Trigger won't change Background

前端 未结 3 1840
失恋的感觉
失恋的感觉 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:54

    If you look at DependecyProperty value precedence order you will see that setting a value explicitly (treated as local value) on a control will override any values set by the trigger.

提交回复
热议问题