<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:mat="clr-namespace:Telerik.Windows.Controls.MaterialControls;assembly=Telerik.Windows.Controls"
					>
	
	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/System.Windows.xaml" />
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/Telerik.Windows.Controls.Data.xaml" />
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/Telerik.Windows.Controls.GridView.xaml" />
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/Telerik.Windows.Controls.Navigation.xaml" />
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/Telerik.Windows.Controls.Input.xaml" />
		<ResourceDictionary Source="pack://application:,,,/WpfApp99;component/NoXaml/Fluent/Telerik.Windows.Controls.xaml" />
	</ResourceDictionary.MergedDictionaries>


	<!-- (Telerik Theme: Fluent) RadComboBox Seleted Edge Color Change SkyBlue -> Transparent -->
	<Style TargetType="telerik:RadComboBox" BasedOn="{StaticResource RadComboBoxStyle}">
		<Setter Property="mat:MaterialAssist.FocusBrush" Value="Transparent"/>
	</Style>

	<!-- (Telerik Theme: Fluent) RadButton Seleted Edge Color Change SkyBlue -> Transparent -->
	<Style TargetType="telerik:RadButton" BasedOn="{StaticResource RadButtonStyle}">
		<Setter Property="mat:MaterialAssist.FocusBrush" Value="Transparent"/>
	</Style>

	<!-- (Telerik Theme: Fluent) GridViewCheckBox Seleted Edge Color Change SkyBlue -> Transparent -->
	<Style TargetType="telerik:GridViewCheckBox" BasedOn="{StaticResource GridViewCheckBoxStyle}">
		<Setter Property="mat:MaterialAssist.FocusBrush" Value="Transparent"/>
	</Style>

	<!-- (Telerik Theme: Fluent) TextBox Seleted Edge Color Change SkyBlue -> Transparent -->
	<Style TargetType="TextBox" BasedOn="{StaticResource TextBoxStyle}">
		<Setter Property="mat:MaterialAssist.FocusBrush" Value="Transparent"/>
	</Style>

	<!-- Telerik RadGridView Default Set-->
	<Style TargetType="telerik:RadGridView" BasedOn="{StaticResource RadGridViewStyle}">
		<Setter Property="IsFilteringAllowed"	Value="True"/>
		<Setter Property="ShowColumnHeaders"	Value="True"/>
		<Setter Property="ShowSearchPanel"		Value="True"/>
		<Setter Property="ShowGroupFooters"		Value="False"/>
		<Setter Property="ShowGroupPanel"		Value="False"/>
		<Setter Property="AutoExpandGroups"		Value="False"/>
		<Setter Property="AutoGenerateColumns"	Value="False"/>
		<Setter Property="RowIndicatorVisibility"			Value="Collapsed"/>
		<Setter Property="SearchPanelCloseButtonVisibility" Value="Collapsed"/>
		<Setter Property="FrozenColumnsSplitterVisibility"	Value="Collapsed"/>
	</Style>


	<!-- Telerik ColorPicker fix -->
	<Style TargetType="telerik:RadColorPicker" BasedOn="{StaticResource RadColorPickerStyle}">
		<Setter Property="Padding" Value="5" />
		<Setter Property="SplitButtonStyle">
			<Setter.Value>
				<Style TargetType="telerik:RadSplitButton" BasedOn="{StaticResource RadSplitButtonStyle}">
					<Setter Property="mat:MaterialAssist.FocusBrush"		Value="Transparent"/>
					<Setter Property="mat:MaterialAssist.MouseOverBrush"	Value="Transparent"/>
					<Setter Property="IsChecked" Value="{Binding IsDropDownOpen, RelativeSource={RelativeSource AncestorType=telerik:RadColorPicker}}" />
				</Style>
			</Setter.Value>
		</Setter>

		<!-- ColorPicker Content -->
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Rectangle	Width="35" Height="25"
								Fill="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:RadColorPicker}},
								Path=SelectedColor, Converter={StaticResource mediaToBrushConverter}}" />
				</DataTemplate>
			</Setter.Value>
		</Setter>

		<!-- ColorPicker Detail -->
		<Setter Property="AdditionalContent">
			<Setter.Value>
				<ContentControl HorizontalContentAlignment="Stretch" Content="{Binding}" >
					<ContentControl.ContentTemplate>
						<DataTemplate>
							<Grid>
								<telerik:RadButton	Height="26" BorderThickness="0"
													HorizontalContentAlignment="Left"
													Command="{Binding OnClickCommand}"
													CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type telerik:RadColorPicker}}}">
									<telerik:RadButton.Content>
										<TextBlock Text="More Colors..." Margin="26 0 0 0" />
									</telerik:RadButton.Content>
								</telerik:RadButton>
								<Image	Margin="4 0 0 0" Height="18" Width="18" HorizontalAlignment="Left" VerticalAlignment="Center"/>
							</Grid>
						</DataTemplate>
					</ContentControl.ContentTemplate>
				</ContentControl>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- Textbox ReadOnly true : Foreground Color Black -->
	<Style x:Key="ReadOnlyStyle" TargetType="{x:Type TextBox}">
		<Setter Property="IsReadOnly" Value="True"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TextBox}">
					<Border Height="28"
							BorderBrush="LightGray"
							BorderThickness="1"
							VerticalAlignment="Center" 
							SnapsToDevicePixels="True">
						<ScrollViewer x:Name="PART_ContentHost" Margin="3 0"
									  BorderBrush="Transparent"
									  VerticalAlignment="Center"
									  HorizontalScrollBarVisibility="Hidden"
									  VerticalScrollBarVisibility="Hidden"/>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsReadOnly" Value="true">
							<Setter Property="Foreground" Value="Black"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

</ResourceDictionary>