ui调整
This commit is contained in:
@@ -181,6 +181,17 @@
|
|||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
<Style.Triggers>
|
||||||
|
<DataTrigger Binding="{Binding Priority}" Value="High">
|
||||||
|
<Setter Property="Background" Value="#FFCDD2"/>
|
||||||
|
</DataTrigger>
|
||||||
|
<DataTrigger Binding="{Binding Priority}" Value="Medium">
|
||||||
|
<Setter Property="Background" Value="#FFE0B2"/>
|
||||||
|
</DataTrigger>
|
||||||
|
<DataTrigger Binding="{Binding Priority}" Value="Low">
|
||||||
|
<Setter Property="Background" Value="#C8E6C9"/>
|
||||||
|
</DataTrigger>
|
||||||
|
</Style.Triggers>
|
||||||
</Style>
|
</Style>
|
||||||
</ListBox.ItemContainerStyle>
|
</ListBox.ItemContainerStyle>
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
|
|||||||
Reference in New Issue
Block a user