|
1 | | -<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 1 | +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 | xmlns:labs="using:CommunityToolkit.Labs.WinUI" |
4 | 4 | xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> |
|
547 | 547 | Margin="0,0,8,-2" |
548 | 548 | VerticalAlignment="Center"> |
549 | 549 | <ContentPresenter x:Name="PART_IconPresenter" |
| 550 | + win:HighContrastAdjustment="None" |
550 | 551 | Content="{TemplateBinding Icon}" |
551 | | - Foreground="{TemplateBinding Foreground}" |
552 | | - HighContrastAdjustment="None" /> |
| 552 | + Foreground="{TemplateBinding Foreground}" /> |
553 | 553 | </Viewbox> |
554 | 554 | <ContentPresenter x:Name="PART_ContentPresenter" |
555 | 555 | Grid.Column="1" |
556 | 556 | Margin="0,1,0,0" |
557 | 557 | VerticalAlignment="Center" |
| 558 | + win:HighContrastAdjustment="None" |
558 | 559 | win:OpticalMarginAlignment="TrimSideBearings" |
559 | 560 | BackgroundSizing="{TemplateBinding BackgroundSizing}" |
560 | 561 | Content="{TemplateBinding Content}" |
561 | 562 | ContentTransitions="{TemplateBinding ContentTransitions}" |
562 | 563 | FontWeight="{TemplateBinding FontWeight}" |
563 | | - Foreground="{TemplateBinding Foreground}" |
564 | | - HighContrastAdjustment="None" /> |
| 564 | + Foreground="{TemplateBinding Foreground}" /> |
565 | 565 | </StackPanel> |
566 | 566 | </Grid> |
567 | 567 | </ControlTemplate> |
|
778 | 778 | Margin="0,0,8,-2" |
779 | 779 | VerticalAlignment="Center"> |
780 | 780 | <ContentPresenter x:Name="PART_IconPresenter" |
| 781 | + win:HighContrastAdjustment="None" |
781 | 782 | Content="{TemplateBinding Icon}" |
782 | | - Foreground="{TemplateBinding Foreground}" |
783 | | - HighContrastAdjustment="None" /> |
| 783 | + Foreground="{TemplateBinding Foreground}" /> |
784 | 784 | </Viewbox> |
785 | 785 | <ContentPresenter x:Name="PART_ContentPresenter" |
786 | 786 | Grid.Column="1" |
787 | 787 | Margin="0,1,0,0" |
788 | 788 | VerticalAlignment="Center" |
| 789 | + win:HighContrastAdjustment="None" |
789 | 790 | win:OpticalMarginAlignment="TrimSideBearings" |
790 | 791 | BackgroundSizing="{TemplateBinding BackgroundSizing}" |
791 | 792 | ContentTransitions="{TemplateBinding ContentTransitions}" |
792 | 793 | FontWeight="{TemplateBinding FontWeight}" |
793 | | - Foreground="{TemplateBinding Foreground}" |
794 | | - HighContrastAdjustment="None" /> |
| 794 | + Foreground="{TemplateBinding Foreground}" /> |
795 | 795 | </StackPanel> |
796 | 796 | </Grid> |
797 | 797 | </ControlTemplate> |
|
0 commit comments