|
45 | 45 | </ContextMenu> |
46 | 46 | </Setter.Value> |
47 | 47 | </Setter> |
| 48 | + </Style> |
48 | 49 |
|
| 50 | + <Style x:Key="ExpanderHeaderStyle" |
| 51 | + BasedOn="{StaticResource HeaderStyle}" |
| 52 | + TargetType="{x:Type TextBlock}"> |
49 | 53 | <Setter Property="Width" Value="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type Expander}}}" /> |
50 | 54 | </Style> |
51 | 55 |
|
|
146 | 150 | <hc:UniformSpacingPanel> |
147 | 151 | <Expander IsExpanded="True"> |
148 | 152 | <Expander.Header> |
149 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 153 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
150 | 154 | Text="{lang:Lang {x:Static lang:LangKey.AdapterProperties_Header}}" /> |
151 | 155 | </Expander.Header> |
152 | 156 |
|
|
200 | 204 |
|
201 | 205 | <Expander IsExpanded="{Binding Nic.SupportsIPv4, Mode=OneWay}"> |
202 | 206 | <Expander.Header> |
203 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 207 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
204 | 208 | Text="{lang:Lang {x:Static lang:LangKey.IPv4GeneralProperties_Header}}" /> |
205 | 209 | </Expander.Header> |
206 | 210 |
|
|
239 | 243 |
|
240 | 244 | <Expander IsExpanded="{Binding Nic.SupportsIPv4, Mode=OneWay}"> |
241 | 245 | <Expander.Header> |
242 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 246 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
243 | 247 | Text="{lang:Lang {x:Static lang:LangKey.IPv4Lifetimes_Header}}" /> |
244 | 248 | </Expander.Header> |
245 | 249 |
|
|
266 | 270 |
|
267 | 271 | <Expander IsExpanded="{Binding Nic.SupportsIPv4, Mode=OneWay}"> |
268 | 272 | <Expander.Header> |
269 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 273 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
270 | 274 | Text="{lang:Lang {x:Static lang:LangKey.IPv4AdvancedProperties_Header}}" /> |
271 | 275 | </Expander.Header> |
272 | 276 |
|
|
317 | 321 |
|
318 | 322 | <Expander IsExpanded="{Binding Nic.SupportsIPv4, Mode=OneWay}"> |
319 | 323 | <Expander.Header> |
320 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 324 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
321 | 325 | Text="{lang:Lang {x:Static lang:LangKey.IPv4Statistics_Header}}" /> |
322 | 326 | </Expander.Header> |
323 | 327 |
|
|
403 | 407 |
|
404 | 408 | <Expander IsExpanded="{Binding Nic.SupportsIPv6, Mode=OneWay}"> |
405 | 409 | <Expander.Header> |
406 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 410 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
407 | 411 | Text="{lang:Lang {x:Static lang:LangKey.IPv6GeneralProperties_Header}}" /> |
408 | 412 | </Expander.Header> |
409 | 413 |
|
|
448 | 452 |
|
449 | 453 | <Expander IsExpanded="{Binding Nic.SupportsIPv6, Mode=OneWay}"> |
450 | 454 | <Expander.Header> |
451 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 455 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
452 | 456 | Text="{lang:Lang {x:Static lang:LangKey.IPv6Lifetimes_Header}}" /> |
453 | 457 | </Expander.Header> |
454 | 458 |
|
|
475 | 479 |
|
476 | 480 | <Expander IsExpanded="{Binding Nic.SupportsIPv6, Mode=OneWay}"> |
477 | 481 | <Expander.Header> |
478 | | - <TextBlock Style="{StaticResource HeaderStyle}" |
| 482 | + <TextBlock Style="{StaticResource ExpanderHeaderStyle}" |
479 | 483 | Text="{lang:Lang {x:Static lang:LangKey.IPv6AdvancedProperties_Header}}" /> |
480 | 484 | </Expander.Header> |
481 | 485 |
|
|
0 commit comments