<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
	    xmlns:local="clr-namespace:CustomTheme;assembly=CustomTheme"
	
	xmlns:grid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
	
	 >
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Resources.xaml"/>
    </ResourceDictionary.MergedDictionaries>
	

	<Style TargetType="grid:GridViewComboBoxEditor"
        
		x:Key="{telerik:ThemeResourceKey ThemeType=local:MyCustomTheme, ElementType=grid:GridViewComboBoxEditor}"
		 >

        <Setter Property="Template">
            <Setter.Value>

                <ControlTemplate TargetType="grid:GridViewComboBoxEditor">
                    <!-- Silverlight 2 does not support nested properties in TemplateBinding, so we 
					use TemplateBinding for DataContext and then regular Binding for the nested
					properties. Note that you cannot use TwoWay binding without Path! -->

                    <grid:RadComboBox
					
						
						Name="PART_EditorControl" 
						DataContext="{TemplateBinding EditorSettings}" DisplayMemberPath="{Binding DisplayMemberPath}" 
						ItemsSource="{Binding ItemsSource}" SelectedValuePath="{Binding SelectedValuePath}" 
						SelectedValue="{TemplateBinding Value}" />
                </ControlTemplate>

            </Setter.Value>
        </Setter>
    </Style>

	
</ResourceDictionary>
