diff options
author | Bret Johnson <bret.johnson@microsoft.com> | 2022-03-15 22:51:03 +0300 |
---|---|---|
committer | Bret Johnson <bret.johnson@microsoft.com> | 2022-03-15 22:51:03 +0300 |
commit | 68d2e6c80295398ae1fcc0e6ce7163c937f46db4 (patch) | |
tree | cb389cbbc4eb32125e813a57d687ec9d37234551 | |
parent | 6359edaa5c81a0d1697a1ad36807b74388f8ebb2 (diff) |
Set the Arrange By AutomationProperty Name correctly
The name here should generally match the button label -
it's a name, not a description.
Fixes AB#1491218
-rw-r--r-- | Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml | 2 | ||||
-rw-r--r-- | Xamarin.PropertyEditing/Properties/Resources.resx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml b/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml index b241d47..ab06eb5 100644 --- a/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml +++ b/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml @@ -213,7 +213,7 @@ <local:TextBoxEx x:Name="search" Grid.Row="0" Style="{DynamicResource PropertySearchTextBox}" AutomationProperties.Name="{x:Static prop:Resources.SearchProperties}" Text="{Binding FilterText,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" /> - <local:MenuButton Grid.Row="1" x:Name="arrangeBy" Header="{x:Static prop:Resources.ArrangeByLabel}" Margin="0,0,18,0" Content="{Binding ArrangeMode,Converter={StaticResource ArrangeLocalizer}}" AutomationProperties.Name="{Binding ArrangeMode,StringFormat={x:Static prop:Resources.ArrangeByButtonName}}"> + <local:MenuButton Grid.Row="1" x:Name="arrangeBy" Header="{x:Static prop:Resources.ArrangeByLabel}" Margin="0,0,18,0" Content="{Binding ArrangeMode,Converter={StaticResource ArrangeLocalizer}}" AutomationProperties.Name="{x:Static prop:Resources.ArrangeByButtonName}"> <local:MenuButton.Visibility> <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="IsArrangeEnabled"> <Binding.Converter> diff --git a/Xamarin.PropertyEditing/Properties/Resources.resx b/Xamarin.PropertyEditing/Properties/Resources.resx index 3a9c8b8..4448043 100644 --- a/Xamarin.PropertyEditing/Properties/Resources.resx +++ b/Xamarin.PropertyEditing/Properties/Resources.resx @@ -915,7 +915,7 @@ <value>Advanced properties</value>
</data>
<data name="ArrangeByButtonName" xml:space="preserve">
- <value>This button allows you to arrange the property list by {0}.</value>
+ <value>Arrange By</value>
</data>
<data name="PropertyButtonName" xml:space="preserve">
<value>Advanced options</value>
|