<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:input="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        xmlns:local="clr-namespace:CustomThemeBasedOnOfficeBlack_GridWpf;assembly=CustomThemeBasedOnOfficeBlack_GridWpf"
    
	xmlns:grid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
	
	 >
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Resources.xaml"/>
    </ResourceDictionary.MergedDictionaries>
	

	<Style TargetType="grid:GridViewMaskedTextBoxEditor"
        
		x:Key="{telerik:ThemeResourceKey ThemeType=local:CustomTheme, ElementType=grid:GridViewMaskedTextBoxEditor}"
		 >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="grid:GridViewMaskedTextBoxEditor">
					<!-- 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! -->
					<input:RadMaskedTextBox Name="PART_EditorControl"
							
							Value="{TemplateBinding Value}"
							DataContext="{TemplateBinding EditorSettings}" Mask="{Binding Mask}"
							MaskType="{Binding MaskType}" HorizontalAlignment="Stretch"
							VerticalAlignment="Stretch" VerticalContentAlignment="Center"
							BorderBrush="{x:Null}" Background="{x:Null}" BorderThickness="0"
							Margin="0" Padding="0" />

				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
</ResourceDictionary>