diff options
-rw-r--r-- | Xamarin.PropertyEditing.Windows/CollectionEditorWindow.xaml | 2 | ||||
-rw-r--r-- | Xamarin.PropertyEditing/Properties/Resources.Designer.cs | 6 | ||||
-rw-r--r-- | Xamarin.PropertyEditing/Properties/Resources.resx | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Windows/CollectionEditorWindow.xaml b/Xamarin.PropertyEditing.Windows/CollectionEditorWindow.xaml index 7e89890..d9fdc41 100644 --- a/Xamarin.PropertyEditing.Windows/CollectionEditorWindow.xaml +++ b/Xamarin.PropertyEditing.Windows/CollectionEditorWindow.xaml @@ -51,7 +51,7 @@ <Button Command="{Binding MoveDownCommand,Mode=OneTime}" ToolTip="{x:Static prop:Resources.MoveItemDown}" AutomationProperties.Name="{x:Static prop:Resources.MoveItemDown}" MinWidth="29" Margin="4,0,0,0" FontFamily="Segoe UI Symbol" Content="тнг" /> </StackPanel> <ComboBox Grid.Column="1" ItemsSource="{Binding SuggestedTypes}" DisplayMemberPath="Name" SelectedItem="{Binding SelectedType,Mode=TwoWay}" Margin="12,0,0,0" /> - <Button Grid.Column="2" Command="{Binding AddTargetCommand,Mode=OneTime}" Margin="4,0,0,0">Add</Button> + <Button Grid.Column="2" Command="{Binding AddTargetCommand,Mode=OneTime}" Margin="4,0,0,0" Content="{x:Static prop:Resources.AddCollectionItem}" /> </Grid> <ItemsControl Margin="12,4,0,0" Style="{StaticResource PropertyListStyle}" Background="{DynamicResource ListBackgroundBrush}" Grid.IsSharedSizeScope="True" DataContext="{Binding Panel}" ItemsSource="{Binding ArrangedEditors}" Grid.Column="1" Grid.Row="1" Grid.RowSpan="2" /> diff --git a/Xamarin.PropertyEditing/Properties/Resources.Designer.cs b/Xamarin.PropertyEditing/Properties/Resources.Designer.cs index 6f5177b..236dcc8 100644 --- a/Xamarin.PropertyEditing/Properties/Resources.Designer.cs +++ b/Xamarin.PropertyEditing/Properties/Resources.Designer.cs @@ -1204,5 +1204,11 @@ namespace Xamarin.PropertyEditing.Properties { return ResourceManager.GetString("ResourceNotSupported", resourceCulture); } } + + public static string AddCollectionItem { + get { + return ResourceManager.GetString("AddCollectionItem", resourceCulture); + } + } } } diff --git a/Xamarin.PropertyEditing/Properties/Resources.resx b/Xamarin.PropertyEditing/Properties/Resources.resx index 75b46a3..fe93990 100644 --- a/Xamarin.PropertyEditing/Properties/Resources.resx +++ b/Xamarin.PropertyEditing/Properties/Resources.resx @@ -776,4 +776,7 @@ <data name="ResourceNotSupported" xml:space="preserve"> <value>Resource Not Supported</value> </data> -</root> + <data name="AddCollectionItem" xml:space="preserve"> + <value>Add</value> + </data> +</root>
\ No newline at end of file |