Remove default mouseover/focus effect on textboxes

前端 未结 3 513
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 23:28

I have created a kind of custom TextBox in Expression Blend. I have changed the fill of the background and border to a gradient, and added in a Shadow Effect.

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-04 00:17

    You should use a new template:

    
    

    I removed the trigger IsMouseOver

    look here for more information: TextBox Styles and Templates

提交回复
热议问题