diff --git a/SampleApp/.vs/SampleApp/xs/UserPrefs.xml b/SampleApp/.vs/SampleApp/xs/UserPrefs.xml index b519212c10ccbad8e4f04f392cec52a96966f890..eb501b324e2ffb9eac0d9d60e3168cdbd82c8746 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 aa580b91991a8dadfea5f8abd3d347515608868e..4202d99ab1134b045ea9d51a9c13cb69324fc48c 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 26ea0eb2fb7a4fe29beca661360f30871f6ef3f5..d18afc6b97f3be194f1dffc5dad618c0d2388dc0 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 756206e3b71fea4edda37804397b5b57f9c84296..eda6780b3f875a7a4d4d917a34350e700414b8b8 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); } }