|
48 | 48 | <ListView.View> |
49 | 49 | <GridView> |
50 | 50 | <GridViewColumn Header="Reference" Width="100"> |
| 51 | + <GridViewColumn.HeaderContainerStyle> |
| 52 | + <Style TargetType="{x:Type GridViewColumnHeader}"> |
| 53 | + <Setter Property="Tag" Value="Reference"/> |
| 54 | + <EventSetter Event="Click" Handler="GridViewColumnHeader_Click"/> |
| 55 | + </Style> |
| 56 | + </GridViewColumn.HeaderContainerStyle> |
51 | 57 | <GridViewColumn.CellTemplate> |
52 | 58 | <DataTemplate> |
53 | 59 | <TextBox Text="{Binding Reference, UpdateSourceTrigger=Explicit}" |
|
74 | 80 | </GridViewColumn.CellTemplate> |
75 | 81 | </GridViewColumn> |
76 | 82 | <GridViewColumn Header="Time Spent" Width="100"> |
| 83 | + <GridViewColumn.HeaderContainerStyle> |
| 84 | + <Style TargetType="{x:Type GridViewColumnHeader}"> |
| 85 | + <Setter Property="Tag" Value="TimeSpent"/> |
| 86 | + <EventSetter Event="Click" Handler="GridViewColumnHeader_Click"/> |
| 87 | + </Style> |
| 88 | + </GridViewColumn.HeaderContainerStyle> |
77 | 89 | <GridViewColumn.CellTemplate> |
78 | 90 | <DataTemplate> |
79 | 91 | <TextBox Text="{Binding TimeSpent, UpdateSourceTrigger=Explicit}" |
|
100 | 112 | </GridViewColumn.CellTemplate> |
101 | 113 | </GridViewColumn> |
102 | 114 | <GridViewColumn Header="Date" Width="100"> |
| 115 | + <GridViewColumn.HeaderContainerStyle> |
| 116 | + <Style TargetType="{x:Type GridViewColumnHeader}"> |
| 117 | + <Setter Property="Tag" Value="Date"/> |
| 118 | + <EventSetter Event="Click" Handler="GridViewColumnHeader_Click"/> |
| 119 | + </Style> |
| 120 | + </GridViewColumn.HeaderContainerStyle> |
103 | 121 | <GridViewColumn.CellTemplate> |
104 | 122 | <DataTemplate> |
105 | 123 | <TextBox Text="{Binding Date, UpdateSourceTrigger=Explicit}" |
|
186 | 204 | <ImageBrush ImageSource="/OvalButtonLG_UI.png"/> |
187 | 205 | </Button.Background> |
188 | 206 | </Button> |
189 | | - <Label x:Name="lbl_totals_Title" Content="Totals( in Hours)" HorizontalAlignment="Left" Margin="98,140,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Width="170" FontWeight="Bold" FontSize="14" Background="{x:Null}" Foreground="White"/> |
| 207 | + <Label x:Name="lbl_totals_Title" Content="Totals" HorizontalAlignment="Left" Margin="144,140,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Width="68" FontWeight="Bold" FontSize="14" Background="{x:Null}" Foreground="White"/> |
190 | 208 | <Label x:Name="lbl_YTD_Total_Title" Content="YTD" HorizontalAlignment="Left" Margin="261,160,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Width="84" FontWeight="Bold" FontSize="14" Foreground="White"> |
191 | 209 | <Label.Background> |
192 | 210 | <ImageBrush/> |
|
197 | 215 | <ImageBrush/> |
198 | 216 | </Label.Background> |
199 | 217 | </Label> |
200 | | - <Label x:Name="lbl_totals_Title_Copy" Content="(Click text to edit.)" HorizontalAlignment="Left" Margin="105,227,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Width="146" FontWeight="Bold" Background="{x:Null}" Foreground="White"/> |
| 218 | + <Label x:Name="lbl_totals_Title_Copy" Content="(Left Click field to edit, Right click to delete entry)" HorizontalAlignment="Left" Margin="23,227,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Width="245" FontWeight="Bold" Background="{x:Null}" Foreground="White" FontSize="10"/> |
201 | 219 | <Button x:Name="btn_Reset" Content="Reset" Margin="0,434,20,20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" RenderTransformOrigin="0.109,-0.074" BorderBrush="{x:Null}" Click="ResetButton_Click" FontSize="10" Padding="1,0,1,1" HorizontalAlignment="Right" Width="36"> |
202 | 220 | <Button.Background> |
203 | 221 | <ImageBrush ImageSource="/OvalButtonLG_UI.png"/> |
|
0 commit comments