|
188 | 188 | Visibility="{Binding ShowPartitions, |
189 | 189 | Source={x:Static config:UserSettings.Setting}, |
190 | 190 | Converter={StaticResource BooleanToVisibilityConverter}}" /> |
| 191 | + <DataGridTextColumn Binding="{Binding DriveLetters}" |
| 192 | + Header="{DynamicResource DriveInfo_DriveLetters}" |
| 193 | + Visibility="{Binding ShowDriveLetters, |
| 194 | + Source={x:Static config:UserSettings.Setting}, |
| 195 | + Converter={StaticResource BooleanToVisibilityConverter}}" /> |
191 | 196 | <DataGridTextColumn Binding="{Binding DiskType}" |
192 | 197 | Header="{DynamicResource DriveInfo_DiskType}" |
193 | 198 | Visibility="{Binding ShowDiskType, |
|
292 | 297 | <RowDefinition Height="24" /> |
293 | 298 | <RowDefinition Height="24" /> |
294 | 299 | <RowDefinition Height="24" /> |
| 300 | + <RowDefinition Height="24" /> |
| 301 | + <RowDefinition Height="24" /> |
295 | 302 | </Grid.RowDefinitions> |
296 | 303 | <!--#endregion--> |
297 | 304 |
|
|
317 | 324 |
|
318 | 325 | <TextBlock Grid.Row="3" Grid.Column="1" |
319 | 326 | VerticalAlignment="Center" |
320 | | - Text="{DynamicResource DriveInfo_MediaType}" /> |
| 327 | + Text="{DynamicResource DriveInfo_DriveLetters}" /> |
321 | 328 | <TextBlock Grid.Row="3" Grid.Column="3" |
322 | | - Text="{Binding MediaType}" /> |
| 329 | + Text="{Binding DriveLetters}" /> |
323 | 330 |
|
324 | 331 | <TextBlock Grid.Row="4" Grid.Column="1" |
325 | 332 | VerticalAlignment="Center" |
326 | | - Text="{DynamicResource DriveInfo_DiskType}" /> |
| 333 | + Text="{DynamicResource DriveInfo_MediaType}" /> |
327 | 334 | <TextBlock Grid.Row="4" Grid.Column="3" |
328 | | - Text="{Binding DiskType}" /> |
| 335 | + Text="{Binding MediaType}" /> |
329 | 336 |
|
330 | 337 | <TextBlock Grid.Row="5" Grid.Column="1" |
331 | 338 | VerticalAlignment="Center" |
332 | | - Text="{DynamicResource DriveInfo_Interface}" /> |
| 339 | + Text="{DynamicResource DriveInfo_DiskType}" /> |
333 | 340 | <TextBlock Grid.Row="5" Grid.Column="3" |
334 | | - Text="{Binding Interface}" /> |
| 341 | + Text="{Binding DiskType}" /> |
335 | 342 |
|
336 | 343 | <TextBlock Grid.Row="6" Grid.Column="1" |
337 | 344 | VerticalAlignment="Center" |
338 | | - Text="{DynamicResource DriveInfo_BusType}" /> |
| 345 | + Text="{DynamicResource DriveInfo_Interface}" /> |
339 | 346 | <TextBlock Grid.Row="6" Grid.Column="3" |
340 | | - Text="{Binding BusType}" /> |
| 347 | + Text="{Binding Interface}" /> |
341 | 348 |
|
342 | 349 | <TextBlock Grid.Row="7" Grid.Column="1" |
343 | 350 | VerticalAlignment="Center" |
344 | | - Text="{DynamicResource DriveInfo_Health}" /> |
| 351 | + Text="{DynamicResource DriveInfo_BusType}" /> |
345 | 352 | <TextBlock Grid.Row="7" Grid.Column="3" |
346 | | - Text="{Binding Health}" /> |
| 353 | + Text="{Binding BusType}" /> |
347 | 354 |
|
348 | 355 | <TextBlock Grid.Row="8" Grid.Column="1" |
349 | 356 | VerticalAlignment="Center" |
350 | | - Text="{DynamicResource DriveInfo_PartitionStyle}" /> |
| 357 | + Text="{DynamicResource DriveInfo_Health}" /> |
351 | 358 | <TextBlock Grid.Row="8" Grid.Column="3" |
352 | | - Text="{Binding PartitionStyle}" /> |
| 359 | + Text="{Binding Health}" /> |
353 | 360 |
|
354 | 361 | <TextBlock Grid.Row="9" Grid.Column="1" |
355 | 362 | VerticalAlignment="Center" |
356 | | - Text="{DynamicResource DriveInfo_BootDrive}" /> |
| 363 | + Text="{DynamicResource DriveInfo_PartitionStyle}" /> |
357 | 364 | <TextBlock Grid.Row="9" Grid.Column="3" |
358 | | - Text="{Binding IsBoot}" /> |
| 365 | + Text="{Binding PartitionStyle}" /> |
359 | 366 |
|
360 | 367 | <TextBlock Grid.Row="10" Grid.Column="1" |
361 | 368 | VerticalAlignment="Center" |
362 | | - Text="{DynamicResource DriveInfo_SystemDrive}" /> |
| 369 | + Text="{DynamicResource DriveInfo_BootDrive}" /> |
363 | 370 | <TextBlock Grid.Row="10" Grid.Column="3" |
364 | | - Text="{Binding IsSystem}" /> |
| 371 | + Text="{Binding IsBoot}" /> |
365 | 372 |
|
366 | 373 | <TextBlock Grid.Row="11" Grid.Column="1" |
367 | 374 | VerticalAlignment="Center" |
368 | | - Text="{DynamicResource DriveInfo_Model}" /> |
| 375 | + Text="{DynamicResource DriveInfo_SystemDrive}" /> |
369 | 376 | <TextBlock Grid.Row="11" Grid.Column="3" |
370 | | - Text="{Binding Model}" /> |
| 377 | + Text="{Binding IsSystem}" /> |
371 | 378 |
|
372 | 379 | <TextBlock Grid.Row="12" Grid.Column="1" |
373 | 380 | VerticalAlignment="Center" |
374 | | - Text="{DynamicResource DriveInfo_Name}" /> |
| 381 | + Text="{DynamicResource DriveInfo_Model}" /> |
375 | 382 | <TextBlock Grid.Row="12" Grid.Column="3" |
376 | | - Text="{Binding Name}" /> |
| 383 | + Text="{Binding Model}" /> |
377 | 384 |
|
378 | 385 | <TextBlock Grid.Row="13" Grid.Column="1" |
379 | 386 | VerticalAlignment="Center" |
380 | | - Text="{DynamicResource DriveInfo_FriendlyName}" /> |
| 387 | + Text="{DynamicResource DriveInfo_Name}" /> |
381 | 388 | <TextBlock Grid.Row="13" Grid.Column="3" |
382 | | - Text="{Binding FriendlyName}" /> |
| 389 | + Text="{Binding Name}" /> |
383 | 390 |
|
384 | 391 | <TextBlock Grid.Row="14" Grid.Column="1" |
385 | 392 | VerticalAlignment="Center" |
386 | | - Text="{DynamicResource DriveInfo_SerialNumber}" /> |
| 393 | + Text="{DynamicResource DriveInfo_FriendlyName}" /> |
387 | 394 | <TextBlock Grid.Row="14" Grid.Column="3" |
| 395 | + Text="{Binding FriendlyName}" /> |
| 396 | + |
| 397 | + <TextBlock Grid.Row="15" Grid.Column="1" |
| 398 | + VerticalAlignment="Center" |
| 399 | + Text="{DynamicResource DriveInfo_SerialNumber}" /> |
| 400 | + <TextBlock Grid.Row="15" Grid.Column="3" |
388 | 401 | Text="{Binding SerialNumber}" /> |
389 | 402 | </Grid> |
390 | 403 | </ScrollViewer> |
|
0 commit comments