<UserControl x:Class="BeWo.View.YearMonthFilter" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Grid>
		<GroupBox>
			<GroupBox.Header>

				<Grid Margin="0 0 4 0">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*" SharedSizeGroup="a" />
						<ColumnDefinition Width="Auto" SharedSizeGroup="b" />
					</Grid.ColumnDefinitions>
					<CheckBox Name="checkbox_yearfilter" IsChecked="True" Content="Nach Jahr filtern" />
					<CheckBox Name="checkbox_monthfilter" IsEnabled="{Binding Path=IsChecked, ElementName=checkbox_yearfilter}" Grid.Column="1" IsChecked="True" Content="Nach Monat filtern" Margin="5,0,0,0" />
				</Grid>
			</GroupBox.Header>
			<Grid Margin="0 0 4 0">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*" SharedSizeGroup="a" />
					<ColumnDefinition Width="Auto" SharedSizeGroup="b" />
				</Grid.ColumnDefinitions>
				<ComboBox x:Name="combobox_year" IsEnabled="{Binding Path=IsChecked, ElementName=checkbox_yearfilter}" Margin="3" Height="20" MinWidth="80" Padding="5 0" VerticalContentAlignment="Center" Background="White" />
				<ComboBox x:Name="combobox_month" IsEnabled="{Binding Path=IsChecked, ElementName=checkbox_monthfilter}" Grid.Column="1" Margin="8,0,0,0" Height="20" MinWidth="120" Padding="5 0" VerticalContentAlignment="Center" Background="White" Grid.Row="1" />
			</Grid>
		</GroupBox>
	</Grid>
</UserControl>