我想设置PASS
as 的文本颜色和 as的GREEN
文本颜色。我似乎找不到解决方案。我需要在纯 XAML 中执行此操作。FAIL
RED
<ComboBox x:Name="LocatedCorrectly" Width="100"
Height="25" Grid.Column="1" Grid.Row="2"
HorizontalAlignment="Left"
IsSynchronizedWithCurrentItem="True">
<ComboBoxItem Content="PASS" Tag="PASS" IsSelected="True"/>
<ComboBoxItem Content="FAIL" Tag="FAILED" />
</ComboBox>