|
36 | 36 | IsVisible="{Binding Storage.Smart.Life, Converter={x:Static ObjectConverters.IsNotNull}}"/> |
37 | 37 | <TextBlock Text="Temperature"/> |
38 | 38 | <TextBlock Text="{Binding Storage.Smart.Temperature, StringFormat='{}{0}°C'}"/> |
| 39 | + <TextBlock Text="Disk Status"/> |
| 40 | + <TextBlock Text="{Binding Storage.Smart.DiskStatus}"/> |
39 | 41 | </StackPanel> |
40 | 42 |
|
41 | 43 | <StackPanel Grid.Row="1" Grid.Column="1"> |
|
51 | 53 | <RowDefinition/> |
52 | 54 | <RowDefinition/> |
53 | 55 | <RowDefinition/> |
| 56 | + <RowDefinition/> |
54 | 57 | </Grid.RowDefinitions> |
55 | 58 | <Grid.ColumnDefinitions> |
56 | 59 | <ColumnDefinition/> |
|
75 | 78 | <CheckBox Grid.Row="2" Grid.Column="2" IsChecked="{Binding Storage.ShowSerialNumber}" |
76 | 79 | ToolTip.Tip="Show serial number"/> |
77 | 80 |
|
78 | | - <TextBlock Grid.Row="3" Grid.Column="0" Text="Total size in bytes"/> |
79 | | - <TextBox Grid.Row="3" Grid.Column="1" IsReadOnly="True" Text="{Binding Storage.TotalSize, Mode=OneWay, StringFormat='{}{0:N0}'}"/> |
| 81 | + <TextBlock Grid.Row="3" Grid.Column="0" Text="Storage bus type"/> |
| 82 | + <TextBox Grid.Row="3" Grid.Column="1" IsReadOnly="True" Text="{Binding Storage.BusType}"/> |
| 83 | + |
| 84 | + <TextBlock Grid.Row="4" Grid.Column="0" Text="Total free size in bytes" |
| 85 | + IsVisible="{Binding !Storage.IsDynamicDisk}"/> |
| 86 | + <TextBox Grid.Row="4" Grid.Column="1" IsReadOnly="True" Text="{Binding Storage.TotalFreeSize, Mode=OneWay, StringFormat='{}{0:N0}'}" |
| 87 | + IsVisible="{Binding !Storage.IsDynamicDisk}"/> |
80 | 88 |
|
81 | | - <TextBlock Grid.Row="4" Grid.Column="0" Text="Storage bus type"/> |
82 | | - <TextBox Grid.Row="4" Grid.Column="1" IsReadOnly="True" Text="{Binding Storage.BusType}"/> |
| 89 | + <TextBlock Grid.Row="5" Grid.Column="0" Text="Total size in bytes"/> |
| 90 | + <TextBox Grid.Row="5" Grid.Column="1" IsReadOnly="True" Text="{Binding Storage.TotalSize, Mode=OneWay, StringFormat='{}{0:N0}'}"/> |
83 | 91 |
|
84 | 92 | <TextBlock Grid.Row="0" Grid.Column="3" Text="VendorID" |
85 | 93 | IsVisible="{Binding Storage.VendorID, Converter={x:Static ObjectConverters.IsNotNull}}"/> |
|
104 | 112 | </ctrl:GridEx> |
105 | 113 | </StackPanel> |
106 | 114 |
|
107 | | - <ctrl:GridEx Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"> |
| 115 | + <ctrl:GridEx Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" |
| 116 | + IsVisible="{Binding !Storage.IsDynamicDisk}"> |
108 | 117 | <Grid.RowDefinitions> |
109 | 118 | <RowDefinition Height="Auto"/> |
110 | 119 | <RowDefinition/> |
|
0 commit comments