<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
		xmlns:sys="clr-namespace:System;assembly=mscorlib"
        xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
		xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
		xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">

	<telerik:Expression_DarkTheme x:Key="Theme" />
	
	<SolidColorBrush x:Key="TextBoxBorder_Disabled" Color="#FF5D5C5C" />
	
	<SolidColorBrush x:Key="PickerForeground" Color="#FFDDDDDD" />
	
	<SolidColorBrush x:Key="PickerBackground" Color="#FF333333" />
	<LinearGradientBrush x:Key="PickerBorder_Normal" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
		<GradientStop Color="#FF707070" Offset="0"/>
		<GradientStop Color="#FFA3A3A3" Offset="0.5"/>
		<GradientStop Color="#FF707070" Offset="1"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="Icon_Normal" Color="#FFC5C2C2"/>
	<SolidColorBrush x:Key="Icon_MouseOver" Color="#FF262626"/>
	<SolidColorBrush x:Key="Icon_Pressed" Color="#FFC5C2C2"/>
	<SolidColorBrush x:Key="Icon_Disabled" Color="#FF868686"/>
	
	<SolidColorBrush x:Key="ButtonForeground_Normal" Color="#FFDDDDDD" />
	<SolidColorBrush x:Key="ButtonBackground_Normal" Color="#FF575859" />
	<LinearGradientBrush x:Key="ButtonBorder_Normal" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
		<GradientStop Color="#FF707070" Offset="0"/>
		<GradientStop Color="#FFA3A3A3" Offset="0.5"/>
		<GradientStop Color="#FF707070" Offset="1"/>
	</LinearGradientBrush>
	
	<SolidColorBrush x:Key="ButtonBorder_Focus" Color="#FF789FC3"/>
	
	<SolidColorBrush x:Key="ButtonForeground_MouseOver" Color="#FF262626" />
	<SolidColorBrush x:Key="ButtonBackground_MouseOver" Color="#FF878787"/>
	<LinearGradientBrush x:Key="ButtonBorder_MouseOver" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
		<GradientStop Color="#FFB0B0B0" Offset="0"/>
		<GradientStop Color="#FFB0B0B0" Offset="1"/>
		<GradientStop Color="#FFE0E1E2" Offset="0.5"/>
	</LinearGradientBrush>
	
	<SolidColorBrush x:Key="ButtonForeground_Pressed" Color="#FFDDDDDD" />
	<LinearGradientBrush x:Key="ButtonBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF2E2D2D" Offset="0"/>
		<GradientStop Color="#FF424242" Offset="1"/>
		<GradientStop Color="#FF424242" Offset="0.14"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ButtonBorder_Pressed" Color="#FF1A1A1A"/>

	<SolidColorBrush x:Key="ButtonBackground_Disabled" Color="#FF666666"/>
	<SolidColorBrush x:Key="ButtonBorder_Disabled" Color="#FF5D5C5C"/>
	
	<SolidColorBrush x:Key="PopupBackground" Color="#FF3D3D3D" />
	<SolidColorBrush x:Key="PopupBorder" Color="#FF595959" />
	
	<SolidColorBrush x:Key="ItemBackground_Selected" Color="#FF878787" />
	<SolidColorBrush x:Key="ItemForeground_Selected" Color="#FF262626" />
	
	<ControlTemplate x:Key="EditableComboToggleButtonControlTemplate" TargetType="telerik:RadToggleButton">
		<Grid>
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Normal" />
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Pressed">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Unfocused" />
					<VisualState x:Name="Focused" />
				</VisualStateGroup>
				<VisualStateGroup x:Name="CheckedStates">
					<VisualState x:Name="Unchecked" />
					<VisualState x:Name="Checked" >
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BackgroundChecked">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="IconChecked">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Indeterminate" />
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>

			<Border x:Name="Background" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" />
			<Border x:Name="BackgroundChecked" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{StaticResource ButtonBorder_Pressed}" Background="{StaticResource ButtonBackground_Pressed}" Visibility="Collapsed" />
			
			<Path x:Name="Icon" Margin="4 0" Fill="{StaticResource Icon_Normal}" Width="8" Height="4" Data="M0,0 4,4 8,0 6,0 4,2 2,0Z" />
			<Path x:Name="IconChecked" Margin="4 0" Visibility="Collapsed" Fill="{StaticResource Icon_Pressed}" Width="8" Height="4" Data="M0,0 4,4 8,0 6,0 4,2 2,0Z" />
			
		</Grid>
	</ControlTemplate>
	
	<ControlTemplate x:Key="NonEditableComboToggleButtonControlTemplate" TargetType="telerik:RadToggleButton">
		<Grid>
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Normal" />
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(ContentControl.Foreground)" Storyboard.TargetName="Content">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonForeground_MouseOver}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Pressed">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(ContentControl.Foreground)" Storyboard.TargetName="Content">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonForeground_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBackground_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Path.Fill)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Icon_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimation Duration="0" To="0.27" Storyboard.TargetName="Content" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Unfocused" />
					<VisualState x:Name="Focused" />
				</VisualStateGroup>
				<VisualStateGroup x:Name="CheckedStates">
					<VisualState x:Name="Unchecked" />
					<VisualState x:Name="Checked" >
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BackgroundChecked">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="IconChecked">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Icon">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Indeterminate" />
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>

			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>
			
			<Border x:Name="Background" Grid.ColumnSpan="2" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" />
			<Border x:Name="BackgroundChecked" Grid.ColumnSpan="2" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{StaticResource ButtonBorder_Pressed}" Background="{StaticResource ButtonBackground_Pressed}" Visibility="Collapsed" />
			
			<Path x:Name="Icon" Grid.Column="1" Margin="4 0" Fill="{StaticResource Icon_Normal}" Width="8" Height="4" Data="M0,0 4,4 8,0 6,0 4,2 2,0Z" />
			<Path x:Name="IconChecked" Grid.Column="1" Margin="4 0" Visibility="Collapsed" Fill="{StaticResource Icon_Pressed}" Width="8" Height="4" Data="M0,0 4,4 8,0 6,0 4,2 2,0Z" />
			
			<ContentControl x:Name="Content" Grid.Column="0" Foreground="{StaticResource PickerForeground}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" IsTabStop="False" />
			
		</Grid>
	</ControlTemplate>
	
	<Style x:Key="EditableComboToggleButtonStyle" TargetType="telerik:RadToggleButton">
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="IsTabStop" Value="True" />
		<Setter Property="Background" Value="{StaticResource ButtonBackground_Normal}" />
		<Setter Property="BorderBrush" Value="{StaticResource ButtonBorder_Normal}" />
		<Setter Property="Template" Value="{StaticResource EditableComboToggleButtonControlTemplate}"/>
	</Style>
	
	<Style x:Key="NonEditableComboToggleButtonStyle" TargetType="telerik:RadToggleButton">
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="IsTabStop" Value="True" />
		<Setter Property="Background" Value="{StaticResource ButtonBackground_Normal}" />
		<Setter Property="BorderBrush" Value="{StaticResource ButtonBorder_Normal}" />
		<Setter Property="Template" Value="{StaticResource NonEditableComboToggleButtonControlTemplate}"/>
	</Style>
	
	<ControlTemplate x:Key="EditableComboBox" TargetType="telerikInput:RadComboBox">
		<Grid x:Name="VisualRoot">
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DropDownOpenBorder" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DropDownOpenBorder" Storyboard.TargetProperty="BorderBrush">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxBorder_Disabled}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Normal" />
					<VisualState x:Name="MouseOver" />
					<VisualState x:Name="DropDownOpen">
						<Storyboard>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Focus" d:IsOptimized="True" />
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.BorderBrush)">
								<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ButtonBorder_Pressed}" />
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Background">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="DropDownOpenBorder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Focused" >
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Focus">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unfocused"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="ValidationStates">
					<VisualState x:Name="Valid" />
					<VisualState x:Name="InvalidUnfocused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip" Storyboard.TargetProperty="Visibility">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="InvalidFocused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip" Storyboard.TargetProperty="Visibility">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip" Storyboard.TargetProperty="IsOpen">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<sys:Boolean>True</sys:Boolean>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Focus" d:IsOptimized="True" />
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="WatermarkStates">
					<VisualState x:Name="WatermarkVisible">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Watermark" Storyboard.TargetProperty="Visibility">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="WatermarkInvisible" />
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>

            <Border x:Name="Background" Grid.ColumnSpan="2" IsHitTestVisible="False" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{StaticResource PickerBackground}" CornerRadius="3" d:IsHidden="True" />
			<Border x:Name="DropDownOpenBorder" Visibility="Collapsed" Grid.ColumnSpan="2" IsHitTestVisible="False" BorderBrush="{StaticResource ButtonBorder_Pressed}" BorderThickness="{TemplateBinding BorderThickness}" Background="{StaticResource PickerBackground}" CornerRadius="3" d:IsHidden="True" />

			<telerik:PickerTextBox x:Name="PART_EditableTextBox" Grid.Column="0" BorderThickness="0" Padding="{TemplateBinding Padding}" Background="{TemplateBinding Background}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" IsReadOnly="{TemplateBinding IsReadOnly}" telerik:StyleManager.Theme="{StaticResource Theme}" d:IsHidden="True" />

			<telerik:RadToggleButton x:Name="PART_DropDownButton" Grid.Column="1" IsTabStop="False" ClickMode="Press" Style="{StaticResource EditableComboToggleButtonStyle}" d:IsHidden="True" />
			
			<Border x:Name="Focus" Visibility="Collapsed" Grid.ColumnSpan="2" IsHitTestVisible="False" BorderBrush="{StaticResource ButtonBorder_Focus}" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" />

			<TextBlock x:Name="Watermark" Padding="{TemplateBinding Padding}" Text="{TemplateBinding EmptyText}" Opacity=".5" IsHitTestVisible="False" VerticalAlignment="Center" HorizontalAlignment="Left" Visibility="Collapsed" />
			<telerikChromes:ValidationTooltip x:Name="ValidationTooltip" Grid.ColumnSpan="2" Visibility="Collapsed" telerik:StyleManager.Theme="{StaticResource Theme}" TooltipPlacementTarget="{Binding RelativeSource={RelativeSource TemplatedParent}}" TooltipContent="{Binding (Validation.Errors), RelativeSource={RelativeSource TemplatedParent}}" />
            <Popup x:Name="PART_Popup" Margin="0 1 0 0">
            	<Border MinWidth="{TemplateBinding MinDropDownWidth}" MaxHeight="{TemplateBinding MaxDropDownHeight}" BorderThickness="1" BorderBrush="{StaticResource PopupBorder}" Background="{StaticResource PopupBackground}">
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto" />
							<RowDefinition Height="*" />
						</Grid.RowDefinitions>
						<telerik:RadButton x:Name="PART_ClearButton" Grid.Row="0" Visibility="{TemplateBinding ClearSelectionButtonVisibility}" Content="{TemplateBinding ClearSelectionButtonContent}" telerik:StyleManager.Theme="{StaticResource Theme}" />
						<ScrollViewer x:Name="PART_ScrollViewer" Grid.Row="1" Padding="1" BorderThickness="0" VerticalScrollBarVisibility="Auto" telerik:StyleManager.Theme="{StaticResource Theme}" telerik:ScrollViewerExtensions.EnableMouseWheel="True">
							<ItemsPresenter />
						</ScrollViewer>
					</Grid>
				</Border>
			</Popup>
		</Grid>
	</ControlTemplate>
	
	<!--NonEditableComboBox-->
	<ControlTemplate x:Key="NonEditableComboBox" TargetType="telerikInput:RadComboBox">
		<Grid x:Name="VisualRoot">
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Disabled" />
					<VisualState x:Name="Normal" />
					<VisualState x:Name="MouseOver" />
					<VisualState x:Name="DropDownOpen">
						<Storyboard>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Focus" d:IsOptimized="True" />
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Focused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Focus">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unfocused"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="ValidationStates">
					<VisualState x:Name="Valid"/>
					<VisualState x:Name="InvalidUnfocused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip"
									Storyboard.TargetProperty="Visibility">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="InvalidFocused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip" Storyboard.TargetProperty="Visibility">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ValidationTooltip" Storyboard.TargetProperty="IsOpen">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<sys:Boolean>True</sys:Boolean>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Focus" d:IsOptimized="True" />
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			
            <Border x:Name="Background" IsHitTestVisible="False" Background="{TemplateBinding Background}" CornerRadius="3" />
            
			<telerik:RadToggleButton x:Name="PART_DropDownButton" Padding="{TemplateBinding Padding}" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" Style="{StaticResource NonEditableComboToggleButtonStyle}" IsTabStop="False" ClickMode="Press" />
			
			<Border x:Name="Focus" Visibility="Collapsed" Grid.ColumnSpan="2" IsHitTestVisible="False" BorderBrush="{StaticResource ButtonBorder_Focus}" CornerRadius="3" BorderThickness="{TemplateBinding BorderThickness}" />

			<telerikChromes:ValidationTooltip x:Name="ValidationTooltip" Visibility="Collapsed" telerik:StyleManager.Theme="{StaticResource Theme}" TooltipPlacementTarget="{Binding RelativeSource={RelativeSource TemplatedParent}}" TooltipContent="{Binding (Validation.Errors), RelativeSource={RelativeSource TemplatedParent}}" />
			
			<Popup x:Name="PART_Popup" Margin="0 1 0 0">
				<Border MinWidth="{TemplateBinding MinDropDownWidth}" MaxHeight="{TemplateBinding MaxDropDownHeight}" BorderThickness="1" BorderBrush="{StaticResource PopupBorder}" Background="{StaticResource PopupBackground}">
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto" />
							<RowDefinition Height="*" />
						</Grid.RowDefinitions>
						<telerik:RadButton x:Name="PART_ClearButton" Grid.Row="0" Visibility="{TemplateBinding ClearSelectionButtonVisibility}" Content="{TemplateBinding ClearSelectionButtonContent}" telerik:StyleManager.Theme="{StaticResource Theme}" />
						<ScrollViewer x:Name="PART_ScrollViewer" Grid.Row="1" Padding="1" BorderThickness="0" VerticalScrollBarVisibility="Auto" telerik:StyleManager.Theme="{StaticResource Theme}" telerik:ScrollViewerExtensions.EnableMouseWheel="True">
							<ItemsPresenter />
						</ScrollViewer>
					</Grid>
				</Border>
			</Popup>
		</Grid>
	</ControlTemplate>

	<!--telerikInput:RadComboBoxItem-->
	<ControlTemplate x:Key="RadComboBoxItemTemplate" TargetType="telerikInput:RadComboBoxItem">
		<Border x:Name="Background" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Normal" />
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="0:0:0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground)">
								<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ItemForeground_Selected}" />
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled" />
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			<Grid>
				<Rectangle x:Name="Highlight" Fill="{StaticResource ItemBackground_Selected}" Visibility="Collapsed" />
				<ContentControl x:Name="Content" Foreground="{StaticResource PickerForeground}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" IsTabStop="False" />
			</Grid>
		</Border>
	</ControlTemplate>
				
	<Style TargetType="telerikInput:RadComboBoxItem">
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="Template" Value="{StaticResource RadComboBoxItemTemplate}" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="Padding" Value="3 1" />
	</Style>
	
	<!--telerikInput:RadComboBox-->
	<Style TargetType="telerikInput:RadComboBox">
		<Setter Property="Padding" Value="5 3" />
		<Setter Property="MinHeight" Value="22" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Foreground" Value="{StaticResource PickerForeground}" />
		<Setter Property="BorderBrush" Value="{StaticResource PickerBorder_Normal}" />
		<Setter Property="UseLayoutRounding" Value="True" />
		<Setter Property="Template" Value="{StaticResource NonEditableComboBox}" />
		<Setter Property="EditableTemplate" Value="{StaticResource EditableComboBox}" />
		<Setter Property="NonEditableTemplate" Value="{StaticResource NonEditableComboBox}" />
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
	</Style>
</ResourceDictionary>