Override default styling in WPF TextBox, based on PresentationFramework.Aero

前端 未结 2 1481
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 13:50

I want to use the Aero textbox styling, but still override some properties. I try to accomplish this by:



        
2条回答
  •  离开以前
    2020-12-08 14:49

    Unlike the code in accepted answer this one allows using resource dictionary for styles. Shamelessly stolen from http://social.msdn.microsoft.com/forums/en-US/wpf/thread/3c66adb7-fd26-40c7-8404-85f6fefbd392/ answered by Vivien Ruitz

    
             
                  
                  
                ...