From 3286ab5a3587a948ff537454cc2bc5fc8bf0cc24 Mon Sep 17 00:00:00 2001 From: Ravi Chande Date: Mon, 3 Apr 2017 14:04:22 -0700 Subject: [PATCH] =?UTF-8?q?Set=20the=20AutomationName=20property=20of=20th?= =?UTF-8?q?e=20ListView=20in=20the=20formatting=20opt=E2=80=A6=20(#18398)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set the AutomationName property of the ListView in the formatting options pages --- .../Core/Def/ServicesVSResources.Designer.cs | 9 +++++++++ src/VisualStudio/Core/Def/ServicesVSResources.resx | 3 +++ .../Core/Impl/Options/OptionPreviewControl.xaml.cs | 2 ++ 3 files changed, 14 insertions(+) diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs index 65fa45db7d0..ed969677175 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs +++ b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs @@ -1322,6 +1322,15 @@ internal class ServicesVSResources { } } + /// + /// Looks up a localized string similar to Options. + /// + internal static string Options { + get { + return ResourceManager.GetString("Options", resourceCulture); + } + } + /// /// Looks up a localized string similar to or. /// diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.resx b/src/VisualStudio/Core/Def/ServicesVSResources.resx index 3b74e4ac805..03a31223fb3 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.resx +++ b/src/VisualStudio/Core/Def/ServicesVSResources.resx @@ -900,4 +900,7 @@ Additional information: {1} VisualStudioWorkspace.TryApplyChanges cannot be called from a background thread. + + Options + \ No newline at end of file diff --git a/src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml.cs b/src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml.cs index 496189d05bd..34f43e9193c 100644 --- a/src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml.cs +++ b/src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml.cs @@ -3,6 +3,7 @@ using System; using System.Linq; using System.Windows; +using System.Windows.Automation; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Input; @@ -34,6 +35,7 @@ internal OptionPreviewControl(IServiceProvider serviceProvider, Func