From 4d3d99dc7e21e7630b8d10edc8047081741c07dc Mon Sep 17 00:00:00 2001 From: Mattia Date: Fri, 4 Sep 2020 12:51:42 +0200 Subject: [PATCH] update --- SampleApp/.vs/SampleApp/xs/UserPrefs.xml | 20 ++++++++----------- SampleApp/SampleApp/Views/Functionality2.xaml | 14 +++++++------ .../SampleApp/Views/Functionality2.xaml.cs | 7 ++++--- .../SampleApp/Views/Functionality4.xaml.cs | 1 + 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/SampleApp/.vs/SampleApp/xs/UserPrefs.xml b/SampleApp/.vs/SampleApp/xs/UserPrefs.xml index b519212c..eb501b32 100644 --- a/SampleApp/.vs/SampleApp/xs/UserPrefs.xml +++ b/SampleApp/.vs/SampleApp/xs/UserPrefs.xml @@ -1,32 +1,28 @@  - - - - - - + - - - - + + + + + - + - + diff --git a/SampleApp/SampleApp/Views/Functionality2.xaml b/SampleApp/SampleApp/Views/Functionality2.xaml index aa580b91..4202d99a 100644 --- a/SampleApp/SampleApp/Views/Functionality2.xaml +++ b/SampleApp/SampleApp/Views/Functionality2.xaml @@ -1,8 +1,10 @@  + + @@ -15,13 +17,13 @@ + + + + + - - - - - - + diff --git a/SampleApp/SampleApp/Views/Functionality2.xaml.cs b/SampleApp/SampleApp/Views/Functionality2.xaml.cs index 26ea0eb2..d18afc6b 100644 --- a/SampleApp/SampleApp/Views/Functionality2.xaml.cs +++ b/SampleApp/SampleApp/Views/Functionality2.xaml.cs @@ -12,8 +12,9 @@ namespace SampleApp.Views { InitializeComponent(); + FocusOrderLabel.Text = "Focus order is: TOP-DOWN"; - + AutomationProperties.SetIsInAccessibleTree(FocusOrderLabel, true); AutomationProperties.SetIsInAccessibleTree(label1, true); AutomationProperties.SetIsInAccessibleTree(label2, true); AutomationProperties.SetIsInAccessibleTree(label3, true); @@ -37,7 +38,7 @@ namespace SampleApp.Views label3.Text = "2"; label3.TabIndex = 2; ChangeButton.Text = "Change focus order to top-down"; - + FocusOrderLabel.Text = "Focus order is: LEFT-RIGHT"; } else { @@ -46,7 +47,7 @@ namespace SampleApp.Views label3.Text = "3"; label3.TabIndex = 3; ChangeButton.Text = "Change focus order to left-right"; - + FocusOrderLabel.Text = "Focus order is: TOP-DOWN"; } topDown = !topDown; diff --git a/SampleApp/SampleApp/Views/Functionality4.xaml.cs b/SampleApp/SampleApp/Views/Functionality4.xaml.cs index 756206e3..eda6780b 100644 --- a/SampleApp/SampleApp/Views/Functionality4.xaml.cs +++ b/SampleApp/SampleApp/Views/Functionality4.xaml.cs @@ -26,6 +26,7 @@ namespace SampleApp.Views }; AutomationProperties.SetIsInAccessibleTree(infoLabel, true); AutomationProperties.SetIsInAccessibleTree(BellImage, true); + AutomationProperties.SetName(BellImage, "Bell Image"); background.Children.Add(BellImage); } } -- 2.18.1