2013-11-01 23 views
10

Zaten şu SystemColors değişti: Bunu aramak emin değilimAktif Olmayan Öğe için ListBox SystemColor?

<!-- Background of selected item when focussed --> 
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" 
       Color="Transparent" /> 
<!-- Background of selected item when not focussed --> 
<SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" 
       Color="Transparent" /> 

ama diyorum neyi SystemColor sorumlu olan: "InactiveSelectedItem"? SelectedItem üzerinde odaklanmam her kaybettiğimde bu renge değişir.

Bana yardım ederse hoş olur. Zaten kontrol etmek için harman kullandım ama bulamıyorum.

Demo

cevap

2

Sen SystemColors.InactiveSelectionHighlightBrushKey arıyorsanız (NET 4,5)

<SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="Transparent"/> 
+1

Mükemmel: Renk #F0F0F0.

Örnek olduğunu. Teşekkürler! Blend'de bulunamadı. – user2799180

İlgili konular