Fix ElementView.
- VERBESSERT: Element-Bearbeitungsfenster.
This commit is contained in:
		@@ -21,22 +21,23 @@
 | 
				
			|||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
 | 
					        xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
 | 
				
			||||||
        SizeToContent="WidthAndHeight" ResizeMode="CanResizeWithGrip" ShowInTaskbar="False"
 | 
					        ResizeMode="CanResizeWithGrip" ShowInTaskbar="False"
 | 
				
			||||||
        WindowStyle="ToolWindow" Topmost="True"
 | 
					        WindowStyle="ToolWindow" Topmost="True"
 | 
				
			||||||
 | 
					        Width="280" Height="180" MinWidth="280" MinHeight="180"
 | 
				
			||||||
        b:WindowState.CenterScreen="True" b:WindowState.Save="True"
 | 
					        b:WindowState.CenterScreen="True" b:WindowState.Save="True"
 | 
				
			||||||
        Title="Element bearbeiten"
 | 
					        Title="Element bearbeiten"
 | 
				
			||||||
        >
 | 
					        >
 | 
				
			||||||
    <Window.Resources>
 | 
					    <Window.Resources>
 | 
				
			||||||
        <ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
 | 
					        <ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
 | 
				
			||||||
    </Window.Resources>
 | 
					    </Window.Resources>
 | 
				
			||||||
    <StackPanel Margin="10">
 | 
					    <DockPanel Margin="10">
 | 
				
			||||||
        <Label Content="Inhalt:" Target="{Binding ElementName=ContentTextBox}" />
 | 
					        <Label DockPanel.Dock="Top" Content="Inhalt:" Target="{Binding ElementName=ContentTextBox}" />
 | 
				
			||||||
        <TextBox Text="{Binding Content,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
 | 
					        <UniformGrid DockPanel.Dock="Bottom" HorizontalAlignment="Right" Columns="2" Rows="1" Margin="0 10 0 0">
 | 
				
			||||||
                 x:Name="ContentTextBox"  Margin="0 0 0 5"
 | 
					 | 
				
			||||||
                 Width="300" Height="60" TextWrapping="Wrap" />
 | 
					 | 
				
			||||||
        <UniformGrid HorizontalAlignment="Right" Columns="2" Rows="1" Margin="0 10 0 0">
 | 
					 | 
				
			||||||
            <Button Content="OK" Command="{Binding SaveCommand}" IsDefault="True" Margin="0 0 5 0" />
 | 
					            <Button Content="OK" Command="{Binding SaveCommand}" IsDefault="True" Margin="0 0 5 0" />
 | 
				
			||||||
            <Button Content="Abbrechen" Command="{Binding CloseViewCommand}" IsCancel="True" Margin="5 0 0 0" />
 | 
					            <Button Content="Abbrechen" Command="{Binding CloseViewCommand}" IsCancel="True" Margin="5 0 0 0" />
 | 
				
			||||||
        </UniformGrid>
 | 
					        </UniformGrid>
 | 
				
			||||||
    </StackPanel>
 | 
					        <TextBox Text="{Binding Content,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
 | 
				
			||||||
 | 
					                 VerticalScrollBarVisibility="Auto"
 | 
				
			||||||
 | 
					                 x:Name="ContentTextBox" Margin="0 0 0 5" TextWrapping="Wrap" />
 | 
				
			||||||
 | 
					    </DockPanel>
 | 
				
			||||||
</Window>
 | 
					</Window>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user