WPF设置ListBoxItem失去焦点时的背景色
生活随笔
收集整理的這篇文章主要介紹了
WPF设置ListBoxItem失去焦点时的背景色
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<!--全局ListBoxItem--><Style TargetType="ListBoxItem"><Style.Resources><!--SelectedItem with focus--><!--<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="AliceBlue"/>--><!--SelectedItem without focus--><SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="LightBlue" /></Style.Resources></Style>
?
轉載于:https://www.cnblogs.com/3Tai/p/4778440.html
總結
以上是生活随笔為你收集整理的WPF设置ListBoxItem失去焦点时的背景色的全部內容,希望文章能夠幫你解決所遇到的問題。