<localView:BeWoView x:Class="BeWo.View.Detail.Report.SupportConceptsAnalysisView" 
                    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:localAnalysisView="clr-namespace:BeWo.View.Detail.Report" 
                    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
                    Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True">
	<Grid>
		<GroupBox Style="{StaticResource ObjectEditGroupBox}" Header="Hilfeplanübersicht">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" />
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<StackPanel Orientation="Vertical">
					<Border BorderBrush="#FF86878F" BorderThickness="0,0,0,1" Padding="3">
						<Grid>
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="Auto" />
								<ColumnDefinition Width="Auto" />
							</Grid.ColumnDefinitions>
							<StackPanel Orientation="Vertical">
								<CheckBox FontFamily="Microsoft Sans Serif" FontSize="12" Margin="0,3,0,0" Content="Nur Hilfepläne meiner Klienten anzeigen" VerticalAlignment="Center" x:Name="chkShowOnlyMySupportConcepts" />
								<CheckBox FontFamily="Microsoft Sans Serif" FontSize="12" Margin="0,3,0,0" Content="Nur Hilfepläne anzeigen, die innerhalb der nächsten drei Monate auslaufen" VerticalAlignment="Center" x:Name="chkShowOnlySCsExpiringNextThreeMonths" />
								<CheckBox FontFamily="Microsoft Sans Serif" FontSize="12" Margin="0,3,0,0" Content="Nur archivierte Hilfepläne anzeigen" VerticalAlignment="Center" x:Name="chkShowArchived" />
							</StackPanel>
							<Button Grid.Column="1" VerticalAlignment="Bottom" Content="Aktualisieren" Margin="16,0,0,0" x:Name="buttonRefresh" Click="buttonRefresh_Click" />
						</Grid>
					</Border>
					<Grid Margin="0,5,0,0">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						<Label Content="Suche" FontSize="14" Margin="0,0,0,0" />
						<TextBox Grid.Column="1" Height="20" x:Name="textbox_searchVisible" MinWidth="90" Margin="3,0,0,0" Width="300" TabIndex="0" Template="{DynamicResource SearchTextBoxTemplate}" BorderThickness="0,0,0,0" TextChanged="textbox_searchVisible_TextChanged"/>
                        <TextBox Grid.Column="1" Height="20" x:Name="textbox_search" MinWidth="90" Margin="3,0,0,0" Width="300" TabIndex="0" Template="{DynamicResource SearchTextBoxTemplate}" BorderThickness="0,0,0,0" Visibility="Hidden"/>
						<Label Grid.Column="2" Content="Nur Einträge berücksichtigen bis" FontSize="14" Margin="5,0,0,0" />
                        <dxe:DateEdit MaskType="DateTimeAdvancingCaret" x:Name="datepicker_appointeddate" Height="23" Margin="3,0,0,0" Grid.Column="3" MinWidth="90" />
						<StackPanel Grid.Column="4" Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right">
							<TextBlock x:Name="textblock_link_pdfexport" Margin="5,0,5,3" FontSize="14">
								<Hyperlink x:Name="linkPdfExport" TargetName="_NewWindow" Foreground="#FF2B508B" RequestNavigate="LinkPdfExport_OnRequestNavigate">
									<Run Text="Drucken" />
								</Hyperlink>
							</TextBlock>
						</StackPanel>
					</Grid>
				</StackPanel>
				<Border Grid.Row="1" Background="{StaticResource SupportConceptContentBrush}" CornerRadius="2" Margin="0,8,0,0">
					<ListView BorderThickness="0" HorizontalContentAlignment="Stretch" ScrollViewer.CanContentScroll="False" Background="Transparent" HorizontalAlignment="Stretch" SelectionChanged="listview_list_SelectionChanged" VerticalAlignment="Stretch" Name="listview_list">
						<ListView.ItemTemplate>
							<DataTemplate>
								<localAnalysisView:SupportConceptAnalysisListViewItem OverviewItem="{Binding}" />
							</DataTemplate>
						</ListView.ItemTemplate>
						<ListBox.ItemsSource>
							<MultiBinding x:Name="listBoxMultiBinding" Converter="{StaticResource SupportConceptOverviewDCConverter}">
								<Binding />
								<Binding ElementName="textbox_search" Path="Text" />
								<Binding ElementName="chkShowOnlySCsExpiringNextThreeMonths" Path="IsChecked" />
							</MultiBinding>
						</ListBox.ItemsSource>
					</ListView>
				</Border>
			</Grid>
		</GroupBox>
	</Grid>
</localView:BeWoView>