Use icons in SettingsRepositoryView.
This commit is contained in:
		@@ -24,7 +24,7 @@
 | 
			
		||||
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
 | 
			
		||||
        xmlns:action="clr-namespace:Bovender.Mvvm.Actions;assembly=Bovender"
 | 
			
		||||
        Width="340" Height="370" Topmost="True"
 | 
			
		||||
        MinWidth="360" MinHeight="370" WindowStyle="ToolWindow"
 | 
			
		||||
        MinWidth="370" MinHeight="380" WindowStyle="ToolWindow"
 | 
			
		||||
        ResizeMode="CanResizeWithGrip" ShowInTaskbar="False"
 | 
			
		||||
        b:WindowState.CenterScreen="True" b:WindowState.Save="True"
 | 
			
		||||
        Title="Stil auswählen"
 | 
			
		||||
@@ -60,18 +60,40 @@
 | 
			
		||||
    </i:Interaction.Triggers>
 | 
			
		||||
    <DockPanel Margin="10">
 | 
			
		||||
        <Label DockPanel.Dock="Top" Target="{Binding ElementName=settingsList}">Bitte Stil auswählen:</Label>
 | 
			
		||||
        <UniformGrid DockPanel.Dock="Bottom" Margin="0 10 0 0" Columns="2" Rows="1" HorizontalAlignment="Left">
 | 
			
		||||
            <Button Command="{Binding UseSettingsCommand}" Content="Auswählen" IsDefault="True" Margin="0 0 5 0" />
 | 
			
		||||
            <Button Command="{Binding CloseViewCommand}" Content="Schließen" Margin="5 0 0 0" IsCancel="True" />
 | 
			
		||||
        </UniformGrid>
 | 
			
		||||
        <StackPanel DockPanel.Dock="Right" Margin="10 0 0 0" x:Name="buttonsPanel">
 | 
			
		||||
            <Button Command="{Binding AddSettingsCommand}" Content="Hinzufügen" Margin="0 0 0 5" />
 | 
			
		||||
            <Button Command="{Binding EditSettingsCommand}" Content="Bearbeiten" Margin="0 0 0 5" />
 | 
			
		||||
            <Button Command="{Binding DeleteSettingsCommand}" Content="Entfernen" Margin="0 0 0 5" />
 | 
			
		||||
            <Button Command="{Binding CopySettingsCommand}" Content="Kopieren" Margin="0 0 0 5" />
 | 
			
		||||
            <Button Command="{Binding ExportSettingsCommand}" Content="Exportieren" Margin="0 5 0 5" />
 | 
			
		||||
            <Button Command="{Binding ImportSettingsCommand}" Content="Importieren" Margin="0 0 0 5" />
 | 
			
		||||
            <Button Command="{Binding ResetSettingsCommand}" Content="Werkseinstellungen" Margin="0 0 0 5" />
 | 
			
		||||
        <StackPanel DockPanel.Dock="Right" Margin="10 0 0 0">
 | 
			
		||||
            <Button Command="{Binding UseSettingsCommand}" IsDefault="True" x:Name="OkButton">
 | 
			
		||||
                <StackPanel Orientation="Horizontal">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/f.png" Width="32" />
 | 
			
		||||
                    <TextBlock VerticalAlignment="Center" Margin="10 0 0 0">Auswählen</TextBlock>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
            </Button>
 | 
			
		||||
            <UniformGrid Columns="2" Margin="0 10 0 0" x:Name="buttonsPanel">
 | 
			
		||||
                <Button Command="{Binding AddSettingsCommand}" ToolTip="Hinzufügen" Margin="0 0 5 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/plus.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding DeleteSettingsCommand}" ToolTip="Entfernen" Margin="5 0 0 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/minus.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding EditSettingsCommand}" ToolTip="Bearbeiten" Margin="0 5 5 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/pen.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding CopySettingsCommand}" ToolTip="Kopieren" Margin="5 5 0 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/duplicate.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding ExportSettingsCommand}" ToolTip="Exportieren" Margin="0 5 5 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/export.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding ImportSettingsCommand}" ToolTip="Importieren" Margin="5 5 0 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/import.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding ResetSettingsCommand}" ToolTip="Auf Werkseinstellungen zurücksetzen"
 | 
			
		||||
                        Margin="0 5 5 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/reset.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button Command="{Binding CloseViewCommand}" ToolTip="Schließen" Margin="5 5 0 5">
 | 
			
		||||
                    <Image Source="/zaaReloaded2;component/Icons/exit.png" Width="24" />
 | 
			
		||||
                </Button>
 | 
			
		||||
            </UniformGrid>
 | 
			
		||||
        </StackPanel>
 | 
			
		||||
        <ListBox ItemsSource="{Binding SettingsList}"
 | 
			
		||||
                    DisplayMemberPath="Name"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user