Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Comment on "CheckComboBox"

$
0
0
Thanks, that worked. Following the same logic, I've tried setting also the item highlight color but it doesn't work (using FocusColor or an explicit value). What am I doing wrong?: <Style TargetType="ComboBox"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ComboBoxItem"> <Border x:Name="Border" BorderBrush="{StaticResource ControlBackgroundColor}"> <ContentPresenter /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsHighlighted" Value="True"> <Setter Property="Panel.Background" TargetName="Border" Value="{StaticResource FocusColor}"/> </Trigger> <Trigger Property="IsHighlighted" Value="False"> <Setter Property="Panel.Background" TargetName="Border" Value="{StaticResource ControlBackgroundColor}"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style>

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>