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