|
1 | | -<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
| 1 | +<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
2 | 2 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:controls="using:CommunityToolkit.WinUI.Controls" |
|
75 | 75 | <TranslateTransform x:Name="MarqueeTransform" /> |
76 | 76 | </StackPanel.RenderTransform> |
77 | 77 | <ContentPresenter x:Name="Segment1" |
| 78 | + win:FontStretch="{TemplateBinding FontStretch}" |
| 79 | + CharacterSpacing="{TemplateBinding CharacterSpacing}" |
78 | 80 | Content="{TemplateBinding Content}" |
79 | 81 | ContentTemplate="{TemplateBinding ContentTemplate}" |
80 | 82 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
81 | | - Foreground="{TemplateBinding Foreground}" |
82 | | - win:FontStretch="{TemplateBinding FontStretch}" |
83 | | - CharacterSpacing="{TemplateBinding CharacterSpacing}" |
84 | 83 | FontFamily="{TemplateBinding FontFamily}" |
85 | 84 | FontSize="{TemplateBinding FontSize}" |
86 | 85 | FontStyle="{TemplateBinding FontStyle}" |
87 | | - FontWeight="{TemplateBinding FontWeight}" /> |
| 86 | + FontWeight="{TemplateBinding FontWeight}" |
| 87 | + Foreground="{TemplateBinding Foreground}" /> |
88 | 88 | <ContentPresenter x:Name="Segment2" |
| 89 | + win:FontStretch="{TemplateBinding FontStretch}" |
| 90 | + CharacterSpacing="{TemplateBinding CharacterSpacing}" |
89 | 91 | Content="{TemplateBinding Content}" |
90 | 92 | ContentTemplate="{TemplateBinding ContentTemplate}" |
91 | 93 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
92 | | - Foreground="{TemplateBinding Foreground}" |
93 | | - win:FontStretch="{TemplateBinding FontStretch}" |
94 | | - CharacterSpacing="{TemplateBinding CharacterSpacing}" |
95 | 94 | FontFamily="{TemplateBinding FontFamily}" |
96 | 95 | FontSize="{TemplateBinding FontSize}" |
97 | 96 | FontStyle="{TemplateBinding FontStyle}" |
98 | | - FontWeight="{TemplateBinding FontWeight}" /> |
| 97 | + FontWeight="{TemplateBinding FontWeight}" |
| 98 | + Foreground="{TemplateBinding Foreground}" /> |
99 | 99 | </StackPanel> |
100 | 100 | </Grid> |
101 | 101 | </Grid> |
|
0 commit comments