<UserControl x:Class="CustomFilteringControl_DateRange.MyCustomFilteringControl"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
			 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
			 xmlns:local="clr-namespace:CustomFilteringControl_DateRange"
			 mc:Ignorable="d"
			 d:DesignHeight="300" d:DesignWidth="400">

	<Border BorderThickness="1" BorderBrush="#FF8A929E" Padding="5" Background="#FFDFE2E5">
		<Grid Margin="8" >
			<Grid.RowDefinitions>
				<RowDefinition/>
				<RowDefinition/>
				<RowDefinition/>
			</Grid.RowDefinitions>
			<TextBlock Text="Filter:" />
			<ListBox Grid.Row="1" x:Name="listBoxDistinctValues" 
					 SelectionChanged="listBoxDistinctValues_SelectionChanged" SelectionMode="Multiple" Height="Auto" MaxHeight="100" Width="100" >
			</ListBox>
			<telerik:RadButton Name="clearButton" Grid.Row="2" Content="Clear" Click="OnClear" Width="80" Margin="2" IsEnabled="{Binding IsActive}"/>
		</Grid>
	</Border>

</UserControl>
