Permalink
Browse files

Changed tasks list box to retain selection highlight when losing focu…

…s, so that the selected item is more apparent when deleting a task.
  • Loading branch information...
1 parent f8ccd38 commit a2a1509bceeb3673171c0c450a6ab475cda017e7 Clif Bromley committed May 1, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Client/MainWindow.xaml
@@ -58,6 +58,10 @@
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
+ <ListBox.Resources>
+ <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="{DynamicResource {x:Static SystemColors.HighlightColorKey}}" />
+ <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="{DynamicResource {x:Static SystemColors.HighlightColorKey}}" />
+ </ListBox.Resources>
</ListBox>
<WebBrowser Height="Auto" HorizontalAlignment="Stretch" Margin="0,46,0,0" Name="webBrowser1" VerticalAlignment="Stretch" Width="Auto" Visibility="Hidden" Grid.ColumnSpan="2" />
<Button Content="PRINT" Height="23" HorizontalAlignment="Left" Margin="0,23,207,0" Name="btnPrint" VerticalAlignment="Top" Width="92" Visibility="Hidden" Click="btnPrint_Click" />

0 comments on commit a2a1509

Please sign in to comment.