<UserControl x:Class="BeWo.View.Report.MitarbeiterKoelnRing.FLSOverviewItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:localView="clr-namespace:BeWo.View"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:localCore="clr-namespace:BeWo.Core"
    xmlns:localFLSReportView="clr-namespace:BeWo.View.Report.MitarbeiterKoelnRing"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <UserControl.Resources>
        
        <DataTemplate x:Key="rowTemplate">
            <Grid Margin="0,1">
                <Border x:Name="ItemBorder" CornerRadius="2" MinHeight="24" Background="#FFFFFFFF">
                    <Border.OpacityMask>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#A0000000" Offset="0"/>
                            <GradientStop Color="#B0000000" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.OpacityMask>

                </Border>
                <Border x:Name="ItemContent" CornerRadius="2" MinHeight="24">
                    <localFLSReportView:FLSOverviewGrid DetailRow="{Binding}"/>
                    
                </Border>
            </Grid>
        </DataTemplate>

    </UserControl.Resources>
    <Expander  HorizontalAlignment="Stretch" IsExpanded="True" Style="{StaticResource analysisExpander}">
        <Expander.Header>
            <TextBlock  Text="{Binding FLSAnalysisRootDC.DisplayName}" Foreground="White" FontFamily="Microsoft Sans Serif"  FontWeight="Bold" FontSize="15"/>
        </Expander.Header>
        <ListView x:Name="itemListView" Background="Transparent" SelectionChanged="listview_SelectionChanged"  HorizontalContentAlignment="Stretch" ScrollViewer.CanContentScroll="False" HorizontalAlignment="Stretch" BorderThickness="0" VerticalAlignment="Top" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemTemplate="{StaticResource rowTemplate}"/>
    </Expander>
</UserControl>
