Updated hyperlink button to move text that should not be linked outside the hyperlink button

This commit is contained in:
Stephanie Anderl 2019-02-22 09:58:30 -08:00
commit 5cd77c03c9

View file

@ -614,22 +614,20 @@
IsTabStop="False"
TabIndex="5"
Visibility="Collapsed">
<HyperlinkButton x:Name="CurrencyRefreshBlock"
<StackPanel Orientation="Horizontal">
<HyperlinkButton x:Name="CurrencyRefreshBlock"
Foreground="{ThemeResource SystemControlHyperlinkBaseHighBrush}"
Click="CurrencyRefreshButton_Click"
AutomationProperties.AccessibilityView="Raw">
<HyperlinkButton.Content>
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}">
<Underline>
<Run x:Uid="RefreshButtonText"/>
</Underline>
<Underline x:Uid="RefreshButtonText"/>
</HyperlinkButton>
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}">
<Run x:Name="Spacing" Text="&#x200A;"/>
<Run x:Name="CurrencySecondaryStatus"
FontWeight="SemiBold"
Text=""/>
</TextBlock>
</HyperlinkButton.Content>
</HyperlinkButton>
FontWeight="SemiBold"
Text=""/>
</TextBlock>
</StackPanel>
</ContentControl>
<!-- Offline TextBlock -->