|
93 | 93 | <TextBlock x:Name="_biosLabel" Focusable="True" />
|
94 | 94 | </custom:CardControl>
|
95 | 95 |
|
96 |
| - <Grid Margin="0,16,0,24"> |
97 |
| - |
98 |
| - <Grid.ColumnDefinitions> |
99 |
| - <ColumnDefinition Width="*" /> |
100 |
| - <ColumnDefinition Width="Auto" /> |
101 |
| - </Grid.ColumnDefinitions> |
102 |
| - |
103 |
| - <TextBlock |
104 |
| - Grid.Column="0" |
105 |
| - Focusable="True" |
106 |
| - FontSize="24" |
107 |
| - FontWeight="Medium" |
108 |
| - Text="{x:Static resources:Resource.DeviceInformationWindow_Warranty_Title}" /> |
109 |
| - <wpfui:Button |
110 |
| - x:Name="_refreshWarrantyButton" |
111 |
| - Grid.Column="1" |
112 |
| - Click="RefreshWarrantyButton_OnClick" |
113 |
| - Icon="ArrowClockwise32" |
114 |
| - ToolTip="{x:Static resources:Resource.DeviceInformationWindow_Refresh}" /> |
115 |
| - </Grid> |
116 |
| - |
117 |
| - <custom:CardControl Margin="0,0,0,8"> |
118 |
| - <custom:CardControl.Header> |
119 |
| - <controls:CardHeaderControl Title="{x:Static resources:Resource.DeviceInformationWindow_WarrantyStartDate_Title}" /> |
120 |
| - </custom:CardControl.Header> |
121 |
| - <TextBlock |
122 |
| - x:Name="_warrantyStartLabel" |
123 |
| - Focusable="True" |
124 |
| - Text="-" /> |
125 |
| - </custom:CardControl> |
126 |
| - |
127 |
| - <custom:CardControl Margin="0,0,0,8"> |
128 |
| - <custom:CardControl.Header> |
129 |
| - <controls:CardHeaderControl Title="{x:Static resources:Resource.DeviceInformationWindow_WarrantyEndDate_Title}" /> |
130 |
| - </custom:CardControl.Header> |
131 |
| - <TextBlock |
132 |
| - x:Name="_warrantyEndLabel" |
133 |
| - Focusable="True" |
134 |
| - Text="-" /> |
135 |
| - </custom:CardControl> |
136 |
| - |
137 |
| - |
138 |
| - <custom:CardAction |
139 |
| - x:Name="_warrantyLinkCardAction" |
140 |
| - Margin="0,8,0,8" |
141 |
| - Click="WarrantyLinkCardAction_OnClick" |
142 |
| - Content="{x:Static resources:Resource.DeviceInformationWindow_LenovoSupport}" |
143 |
| - Icon="Open24" |
144 |
| - IsChevronVisible="False" |
145 |
| - IsEnabled="False" /> |
| 96 | + <StackPanel x:Name="_warrantyInfo" Visibility="Hidden"> |
| 97 | + <Grid Margin="0,16,0,24"> |
| 98 | + |
| 99 | + <Grid.ColumnDefinitions> |
| 100 | + <ColumnDefinition Width="*" /> |
| 101 | + <ColumnDefinition Width="Auto" /> |
| 102 | + </Grid.ColumnDefinitions> |
| 103 | + |
| 104 | + <TextBlock |
| 105 | + Grid.Column="0" |
| 106 | + Focusable="True" |
| 107 | + FontSize="24" |
| 108 | + FontWeight="Medium" |
| 109 | + Text="{x:Static resources:Resource.DeviceInformationWindow_Warranty_Title}" /> |
| 110 | + <wpfui:Button |
| 111 | + x:Name="_refreshWarrantyButton" |
| 112 | + Grid.Column="1" |
| 113 | + Click="RefreshWarrantyButton_OnClick" |
| 114 | + Icon="ArrowClockwise32" |
| 115 | + ToolTip="{x:Static resources:Resource.DeviceInformationWindow_Refresh}" /> |
| 116 | + </Grid> |
| 117 | + |
| 118 | + <custom:CardControl Margin="0,0,0,8"> |
| 119 | + <custom:CardControl.Header> |
| 120 | + <controls:CardHeaderControl Title="{x:Static resources:Resource.DeviceInformationWindow_WarrantyStartDate_Title}" /> |
| 121 | + </custom:CardControl.Header> |
| 122 | + <TextBlock |
| 123 | + x:Name="_warrantyStartLabel" |
| 124 | + Focusable="True" |
| 125 | + Text="-" /> |
| 126 | + </custom:CardControl> |
| 127 | + |
| 128 | + <custom:CardControl Margin="0,0,0,8"> |
| 129 | + <custom:CardControl.Header> |
| 130 | + <controls:CardHeaderControl Title="{x:Static resources:Resource.DeviceInformationWindow_WarrantyEndDate_Title}" /> |
| 131 | + </custom:CardControl.Header> |
| 132 | + <TextBlock |
| 133 | + x:Name="_warrantyEndLabel" |
| 134 | + Focusable="True" |
| 135 | + Text="-" /> |
| 136 | + </custom:CardControl> |
| 137 | + |
| 138 | + |
| 139 | + <custom:CardAction |
| 140 | + x:Name="_warrantyLinkCardAction" |
| 141 | + Margin="0,8,0,8" |
| 142 | + Click="WarrantyLinkCardAction_OnClick" |
| 143 | + Content="{x:Static resources:Resource.DeviceInformationWindow_LenovoSupport}" |
| 144 | + Icon="Open24" |
| 145 | + IsChevronVisible="False" |
| 146 | + IsEnabled="False" /> |
| 147 | + </StackPanel> |
146 | 148 |
|
147 | 149 | </StackPanel>
|
148 | 150 |
|
|
0 commit comments