diff --git a/src/EditorFeatures/Core.Wpf/InlineRename/Dashboard/Dashboard.xaml b/src/EditorFeatures/Core.Wpf/InlineRename/Dashboard/Dashboard.xaml index 41ab7323263c59c2a4aeaef0fcc8014803ce223a..b0f45549082a89dcf9d3f908fa0575cd0defcb32 100644 --- a/src/EditorFeatures/Core.Wpf/InlineRename/Dashboard/Dashboard.xaml +++ b/src/EditorFeatures/Core.Wpf/InlineRename/Dashboard/Dashboard.xaml @@ -115,7 +115,8 @@ VerticalAlignment="Center" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Click="CloseButton_Click" - ToolTip="{Binding ElementName=dashboard, Path=CancelToolTip}"/> + ToolTip="{Binding ElementName=dashboard, Path=CancelToolTip}" + AutomationProperties.Name="{Binding ElementName=dashboard, Path=CancelRename}"/> @@ -239,9 +240,8 @@ + Style="{DynamicResource {x:Static utilities:CodeAnalysisColors.ButtonStyleKey}}" + AutomationProperties.Name="{Binding ElementName=dashboard, Path=ApplyRename}"/>