Added the x:uid tag for the buttons and also added the automationID

This commit is contained in:
Meluleki Dube 2019-05-15 19:31:44 +02:00
commit d512daad3e

View file

@ -400,6 +400,7 @@
TextWrapping="NoWrap"/>
</ScrollViewer>
<HyperlinkButton x:Name="ScrollLeft"
x:Uid="ScrollLeft"
Grid.Column="0"
Width="20"
MinWidth="20"
@ -411,7 +412,7 @@
VerticalContentAlignment="Center"
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
BorderThickness="0"
AutomationProperties.Name="ScrollLeft"
AutomationProperties.AutomationId="CalculationResultScrollLeft"
Visibility="Collapsed">
<FontIcon x:Name="ScrollLeftText"
FontFamily="{ThemeResource SymbolThemeFontFamily}"
@ -419,6 +420,7 @@
Glyph="&#xE26C;"/>
</HyperlinkButton>
<HyperlinkButton x:Name="ScrollRight"
x:Uid="ScrollRight"
Grid.Column="2"
Width="20"
MinWidth="20"
@ -430,7 +432,7 @@
VerticalContentAlignment="Center"
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
BorderThickness="0"
AutomationProperties.Name="ScrollRight"
AutomationProperties.AutomationId="CalculationResultScrollRight"
Visibility="Collapsed">
<FontIcon x:Name="ScrollRightText"
FontFamily="{ThemeResource SymbolThemeFontFamily}"