<localView:BeWoView x:Class="BeWo.View.Master.AdministrationView"
					xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
					xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
					xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
                    xmlns:localView="clr-namespace:BeWo.View"
                    Height="Auto" Width="Auto"
					HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True">
    <Grid>
        <uc:ShadowChrome>
            <GroupBox Style="{StaticResource MainContentGroupBoxStyle}">
                <GroupBox.Header>
                    <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,11,0,0">
                        <Image Source="..\..\Ressources\Icons\ConfigurationDisabled.png" RenderTransformOrigin="0.5,0.5"
                                Width="32">
                            <Image.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="1.3" ScaleY="1.3" />
                                    <SkewTransform AngleX="0" AngleY="0" />
                                    <RotateTransform Angle="0" />
                                    <TranslateTransform X="0" Y="-2" />
                                </TransformGroup>
                            </Image.RenderTransform>
                        </Image>
                        <TextBox Text="Verwaltung" Margin="10,0,0,0" Background="{x:Null}"
                                Foreground="{DynamicResource MainGroupBoxForegroundBrush}" FontSize="22"
                                BorderBrush="{x:Null}" VerticalAlignment="Stretch" Padding="0,0,0,0"
                                BorderThickness="0,0,0,0" />
                    </StackPanel>
                </GroupBox.Header>
                <Grid Margin="0,0,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="*" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <Rectangle Fill="{DynamicResource AdministrationContentBrush}" Height="6" />
                    <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                        <TabControl x:Name="root" Style="{StaticResource ObjectEditTabControl}"
                                PreviewMouseLeftButtonDown="root_PreviewMouseLeftButtonDown" BorderThickness="0,0,0,0">
                            <TabItem Header="Einstellungen" IsSelected="True" Name="tabitem_mandator"
                                    Selector.Selected="tabitem_mandator_Selected" />
                            <!--### CB<TabItem Header="Einstellungen für Kalender" Name="tabitem_schedulerSettings"
                                    Selector.Selected="tabitem_schedulerSettings_Selected" />-->
                            <TabItem Header="Abschlüsse der Mitarbeiter" Name="tabitem_qualificationTypes"
                                    Selector.Selected="tabitem_qualificationTypes_Selected" />
                            <TabItem Header="Abwesenheitskategorien" Name="tabitem_absenceCategories"
                                    Selector.Selected="tabitem_absenceCategories_Selected" />
                            <TabItem Header="Behinderungskategorien" Name="tabitem_disablityTypes"
                                    Selector.Selected="tabitem_disablityTypes_Selected" />
                            <TabItem Header="Beschäftigungsarten" Name="tabitem_employmentTypes"
                                    Selector.Selected="tabitem_employmentTypes_Selected" />
                            <TabItem Header="Betreuungsarten" Name="tabitem_customerCareTypes"
                                    Selector.Selected="tabitem_customerCareTypes_Selected" />
                            <TabItem Header="Gründe für Beendigung der Betreuung" Name="tabitem_terminationReasons"
                                    Selector.Selected="tabitem_terminationReasons_Selected" />
                            <TabItem Header="Vermittlung" Name="tabitem_placementObjectives"
                                    Selector.Selected="tabitem_placementObjectives_Selected" />
                            <TabItem Header="Titel" Name="tabitem_titles" Selector.Selected="tabitem_titles_Selected" />
                            <TabItem Header="Funktionen" Name="tabitem_functions"
                                    Selector.Selected="tabitem_functions_Selected" />
                            
                            <TabItem Header="Finanzkategorien" Name="tabitem_finazCategories"
                                    Selector.Selected="tabitem_finazCategories_Selected" />
                            <TabItem Header="Leistungskategorien" Name="tabitem_serviceCategories"
                                    Selector.Selected="tabitem_serviceCategories_Selected" />
                            <TabItem Header="Leistungen" Name="tabitem_serviceDescriptions"
                                    Selector.Selected="tabitem_serviceDescriptions_Selected" />
                            <TabItem Header="Textbausteine" Name="tabitem_textbausteine"
                                     Selector.Selected="tabitem_textbausteine_Selected" />
							<TabItem Header="Medikamentenarten" Name="tabitem_medikamentenarten"
									Selector.Selected="tabitem_medikamentenarten_Selected"/>
                            <TabItem Header="Rollen des Personals" Name="tabitem_roles"
                                    Selector.Selected="tabitem_roles_Selected" />
                            <TabItem Header="Rollen des Umfeldes" Name="tabitem_environmentRoles"
                                    Selector.Selected="tabitem_environmentRoles_Selected" />
                            <TabItem Header="Schwerpunkte des Personals" Name="tabitem_activityFocus"
                                    Selector.Selected="tabitem_activityFocus_Selected" />
                            <TabItem Header="Ressourcenkategorien" Name="tabitem_resourceCategories"
                                    Selector.Selected="tabitem_resourceCategories_Selected" />
                            <TabItem Header="Ressourcen" Name="tabitem_resources"
                                    Selector.Selected="tabitem_resources_Selected" />
							<TabItem Header="Ziele und Maßnahmen" Name="tabitem_goalcategories"
                                    Selector.Selected="tabitem_goalcategories_Selected" />
                            <!--<TabItem Header="Ergebnisziele" Name="tabitem_goals" Selector.Selected="tabitem_goals_Selected" />-->
                            <TabItem Header="Ankündigungen" Name="tabitem_news" Selector.Selected="tabitem_news_Selected" />
                            <TabItem Header="Punktebogen Werte" Name="tabitem_assessmentSheetValues"
                                    Selector.Selected="tabitem_assessmentSheetValues_Selected" />
                            <TabItem Header="Punktebogen Kategorien" Name="tabitem_assessmentSheetCategories"
                                    Selector.Selected="tabitem_assessmentSheetCategories_Selected" />
                            <!--<TabItem Header="Rechnungsnummer" Name="tabitem_InvoiceNumber"
                                    Selector.Selected="tabitem_InvoiceNumber_Selected" />-->
							<TabItem Header="Bereiche" Name="tabitem_additionalServices"
									 Selector.Selected="Tabitem_additionalAdditionalServices_OnSelected"/>
							<TabItem Header="Angebote" Name="tabitem_additionalServiceRegions"
									 Selector.Selected="Tabitem_additionalServiceRegions_OnSelected"/>
							<TabItem Header="Überstunden Auszahlungsarten" Name="tabitem_auszahlungsarten"
									 Selector.Selected="Tabitem_auszahlungsarten_OnSelected"/>
                          <!--Dokumentationstyp auswahl-->
                          <TabItem Header="Dokumentationstypen" Name="tabitem_dokumenttype" Selector.Selected="tabitem_dokumenttype_Selected" />
                        </TabControl>
                    </ScrollViewer>
                    <Border Grid.Row="2" Grid.ColumnSpan="3" Height="40" Margin="0,0,0,0" VerticalAlignment="Stretch"
                            Background="#FF000000">
                        <Border.OpacityMask>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#19000000" Offset="0" />
                                <GradientStop Color="#33FFFFFF" Offset="1" />
                            </LinearGradientBrush>
                        </Border.OpacityMask>
                    </Border>
                    <StackPanel Grid.ColumnSpan="3" Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center"
                            Height="Auto" Margin="0,5,5,0" HorizontalAlignment="Right">
                        <Button x:Name="btnSave" Command="ApplicationCommands.Save" Content="Speichern" Margin="0,0,2,0"
                                Height="25" />
                        <Button x:Name="btnClose" Command="ApplicationCommands.Close" Content="Schließen" Margin="0,0,0,0"
                                Height="25" />
                    </StackPanel>
                </Grid>
            </GroupBox>
        </uc:ShadowChrome>
    </Grid>
</localView:BeWoView>