|
49 | 49 | <!-- Tab: Projects-->
|
50 | 50 | <TabItem Header="Projects" Style="{DynamicResource TabItemStyle1}" Padding="0,0,0,0" Margin="-1,1,1,-1" BorderBrush="{x:Null}">
|
51 | 51 | <Grid>
|
52 |
| - <Grid.ColumnDefinitions> |
53 |
| - <ColumnDefinition Width="185*"/> |
54 |
| - <ColumnDefinition Width="693*"/> |
55 |
| - </Grid.ColumnDefinitions> |
56 | 52 | <!-- search box -->
|
57 | 53 | <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" Grid.ColumnSpan="2" >
|
58 | 54 | <!--<TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBox}" Height="24" />-->
|
|
117 | 113 | <DataGridTextColumn.CellStyle>
|
118 | 114 | <Style TargetType="{x:Type DataGridCell}">
|
119 | 115 | <Setter Property="Foreground" Value="{DynamicResource ThemeGridRedText}" />
|
120 |
| - <Setter Property="BorderBrush" Value="{x:Null}" /> |
| 116 | + <Setter Property="BorderBrush" Value="Orange" /> |
121 | 117 | <Style.Triggers>
|
122 | 118 | <DataTrigger Binding="{Binding Version, Converter={StaticResource VersionInstalledConverter}}" Value="1">
|
123 | 119 | <Setter Property="Foreground" Value="{DynamicResource ThemeGridGreenText}" />
|
124 |
| - <Setter Property="BorderBrush" Value="{x:Null}" /> |
| 120 | + <!--<Setter Property="BorderBrush" Value="{x:Null}" />--> |
125 | 121 | </DataTrigger>
|
126 | 122 | <DataTrigger Binding="{Binding Version, Converter={StaticResource VersionInstalledConverter}}" Value="-1">
|
127 | 123 | <Setter Property="Foreground" Value="{DynamicResource ThemeGridGreenText}" />
|
128 |
| - <Setter Property="BorderBrush" Value="Orange" /> |
| 124 | + <!--<Setter Property="BorderBrush" Value="Orange" />--> |
| 125 | + </DataTrigger> |
| 126 | + <DataTrigger Binding="{Binding InfoLabel, IsAsync=True}" Value="{x:Null}"> |
| 127 | + <Setter Property="BorderBrush" Value="{x:Null}" /> |
129 | 128 | </DataTrigger>
|
130 | 129 | </Style.Triggers>
|
131 | 130 | </Style>
|
132 | 131 | </DataGridTextColumn.CellStyle>
|
| 132 | + <DataGridTextColumn.ElementStyle> |
| 133 | + <Style TargetType="TextBlock"> |
| 134 | + <Setter Property="ToolTip"> |
| 135 | + <Setter.Value> |
| 136 | + <ToolTip> |
| 137 | + <TextBlock Text="{Binding InfoLabel, IsAsync=True}" TextWrapping="Wrap" MaxWidth="480"/> |
| 138 | + </ToolTip> |
| 139 | + </Setter.Value> |
| 140 | + </Setter> |
| 141 | + <Style.Triggers> |
| 142 | + <DataTrigger Binding="{Binding InfoLabel}" Value="{x:Null}"> |
| 143 | + <Setter Property="ToolTip" Value="{x:Null}"/> |
| 144 | + </DataTrigger> |
| 145 | + <DataTrigger Binding="{Binding InfoLabel}" Value=""> |
| 146 | + <Setter Property="ToolTip" Value="{x:Null}"/> |
| 147 | + </DataTrigger> |
| 148 | + </Style.Triggers> |
| 149 | + </Style> |
| 150 | + </DataGridTextColumn.ElementStyle> |
133 | 151 | </DataGridTextColumn>
|
134 | 152 | <!--CellStyle="{StaticResource NoFocusCellStyle"}-->
|
135 | 153 | <DataGridTextColumn Header="Path" x:Name="txtColumnPath" Binding="{Binding Path}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="185">
|
|
368 | 386 | </DataGridTextColumn.ElementStyle>
|
369 | 387 | </DataGridTextColumn>
|
370 | 388 |
|
371 |
| - <DataGridTextColumn Binding="{Binding Version}" ClipboardContentBinding="{x:Null}" Header="Version" IsReadOnly="True" MinWidth="90"/> |
| 389 | + <DataGridTextColumn Binding="{Binding Version}" ClipboardContentBinding="{x:Null}" Header="Version" IsReadOnly="True" MinWidth="90"> |
| 390 | + <DataGridTextColumn.HeaderTemplate> |
| 391 | + <DataTemplate> |
| 392 | + <TextBlock Text="Version" IsHitTestVisible="False" /> |
| 393 | + </DataTemplate> |
| 394 | + </DataGridTextColumn.HeaderTemplate> |
| 395 | + <DataGridTextColumn.CellStyle> |
| 396 | + <Style TargetType="{x:Type DataGridCell}"> |
| 397 | + <Setter Property="BorderBrush" Value="Orange" /> |
| 398 | + <Style.Triggers> |
| 399 | + <DataTrigger Binding="{Binding InfoLabel, IsAsync=True}" Value="{x:Null}"> |
| 400 | + <Setter Property="BorderBrush" Value="{x:Null}" /> |
| 401 | + </DataTrigger> |
| 402 | + </Style.Triggers> |
| 403 | + </Style> |
| 404 | + </DataGridTextColumn.CellStyle> |
| 405 | + </DataGridTextColumn> |
372 | 406 | <DataGridTextColumn Header="Release" Binding="{Binding ReleaseType}" IsReadOnly="True" CanUserResize="False" MinWidth="50" />
|
373 | 407 | <DataGridTextColumn Binding="{Binding PlatformsCombined}" ClipboardContentBinding="{x:Null}" Header="Platforms" IsReadOnly="True"/>
|
374 | 408 | <DataGridTextColumn Binding="{Binding Installed, StringFormat=\{0:dd/MM/yyyy HH:mm:ss\}}" ClipboardContentBinding="{x:Null}" Header="Installed" IsReadOnly="True"/>
|
|
0 commit comments