<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:Dapfor.Wpf.Controls;assembly=Dapfor.Wpf">
<ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Dapfor.Wpf;component/Themes/BasicTheme.xaml"/> </ResourceDictionary.MergedDictionaries>
<RadialGradientBrush GradientOrigin="0.5,1" RadiusX=".4" RadiusY="0.6" Center="0.5,1" x:Key="BackgroundBrush"> <GradientStop Color="#ff87b8bd" Offset="0.0" /> <GradientStop Color="#ff40838b" Offset="0.4" /> <GradientStop Color="#ff004f70" Offset="1.0" /> </RadialGradientBrush>
<SolidColorBrush x:Key="GroupPanelForegroundBrush" Color="#ffdae0e7"/> <LinearGradientBrush x:Key="GroupPanelBackgroundBrush" StartPoint="0,0" EndPoint="1,1"> <GradientStop Color="#00ffffff" Offset="0" /> <GradientStop Color="#20ffffff" Offset="0.2" /> <GradientStop Color="#00ffffff" Offset="0.3" /> <GradientStop Color="#40ffffff" Offset="0.4" /> <GradientStop Color="#00ffffff" Offset="0.5" /> <GradientStop Color="#20ffffff" Offset="0.6" /> <GradientStop Color="#40ffffff" Offset="0.7" /> <GradientStop Color="#00ffffff" Offset="0.8" /> <GradientStop Color="#20ffffff" Offset="0.9" /> <GradientStop Color="#00ffffff" Offset="1" /> </LinearGradientBrush> <LinearGradientBrush x:Key="GroupPanelBorderBrush" EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="#40ffffff" Offset="0" /> <GradientStop Color="#35000000" Offset="1" /> </LinearGradientBrush>
<LinearGradientBrush x:Key="HeaderColumnPanelBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#60ffffff" Offset="0" /> <GradientStop Color="#30000000" Offset="1" /> </LinearGradientBrush>
<LinearGradientBrush x:Key="ColumnBorderBrush" StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="#60ffffff" Offset="0" /> <GradientStop Color="#30000000" Offset="1" /> </LinearGradientBrush> <SolidColorBrush x:Key="ColumnForegroundBrush" Color="#FFffd000"/> <LinearGradientBrush x:Key="ColumnBackgroundBrush" StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="#00ffffff" Offset="0" /> <GradientStop Color="#20ffffff" Offset="0.6" /> <GradientStop Color="#00ffffff" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="RowForegroundBrush" Color="#70ffffff"/> <LinearGradientBrush x:Key="RowBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#30FFFFFF" Offset="0" /> <GradientStop Color="#10FFFFFF" Offset="1" /> </LinearGradientBrush>
<LinearGradientBrush x:Key="AlternatingRowBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#00000000" Offset="0" /> <GradientStop Color="#10ffffff" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="GroupRowForegroundBrush" Color="#70ffffff"/> <LinearGradientBrush x:Key="GroupRowBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#1F000000" Offset="0" /> <GradientStop Color="#006989A2" Offset="0.5" /> <GradientStop Color="#1F000000" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="RowSelectorForegroundBrush" Color="#70ffffff"/> <LinearGradientBrush x:Key="RowSelectorBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#30ffffff" Offset="0" /> <GradientStop Color="#10ffffff" Offset="1" /> </LinearGradientBrush> <LinearGradientBrush x:Key="RowSelectorBorderBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#80ffffff" Offset="0" /> <GradientStop Color="#10ffffff" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="HeaderSelectorForegroundBrush" Color="#70ffffff"/> <LinearGradientBrush x:Key="HeaderSelectorBackgroundBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#20ffffff" Offset="0" /> <GradientStop Color="#00ffffff" Offset="1" /> </LinearGradientBrush> <LinearGradientBrush x:Key="HeaderSelectorBorderBrush" StartPoint="0,0" EndPoint="1,0"> <GradientStop Color="#20ffffff" Offset="0" /> <GradientStop Color="#00ffffff" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="ExpanderBorderBrush" Color="#FFEBBC88"/> <SolidColorBrush x:Key="ExpanderPlusFillBrush" Color="#3fE68C18"/> <SolidColorBrush x:Key="ExpanderMinusFillBrush" Color="#ffE68C18"/>
<RadialGradientBrush x:Key="BlinkBrush"> <GradientStop Color="#00FFA500" Offset="1"/> <GradientStop Color="#64FFA500" Offset=".6"/> <GradientStop Color="#9BFFA500" Offset="0"/> </RadialGradientBrush>
<SolidColorBrush x:Key="FocusBorderBrush" Color="#FFFFA500"/> <SolidColorBrush x:Key="FocusBackgroundBrush" Color="#17FFA500"/>
<SolidColorBrush x:Key="LassoBorderBrush" Color="#9BFFA500"/> <LinearGradientBrush x:Key="LassoBackgroundBrush" EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="#30FFA500" Offset="0" /> <GradientStop Color="#20FFA500" Offset="1" /> </LinearGradientBrush>
<SolidColorBrush x:Key="SelectionBorderBrush" Color="#ffffea00"/> <LinearGradientBrush x:Key="SelectionBrush" EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="#12ffea00" Offset="0" /> <GradientStop Color="#27ffea00" Offset="0.4" /> <GradientStop Color="#12ffea00" Offset="1" /> </LinearGradientBrush>
<ControlTemplate x:Key="ExpanderPlus"> <Polygon Points="0,0 4,4, 0,8" SnapsToDevicePixels="false" Stroke="{StaticResource ExpanderBorderBrush}" StrokeThickness="1" Fill="{StaticResource ExpanderPlusFillBrush}" HorizontalAlignment="Center" VerticalAlignment="Center"> </Polygon> </ControlTemplate>
<ControlTemplate x:Key="ExpanderMinus"> <Polygon Points="5,0 5,5, 0,5" SnapsToDevicePixels="false" Stroke="{StaticResource ExpanderBorderBrush}" StrokeThickness="1" Fill="{StaticResource ExpanderMinusFillBrush}" HorizontalAlignment="Center" VerticalAlignment="Center"> </Polygon> </ControlTemplate>
<Style BasedOn="{StaticResource DapforGridControlDefaultStyle}" TargetType="{x:Type controls:GridControl}"> <Setter Property="Background" Value="{StaticResource BackgroundBrush}"/> <Setter Property="AppearanceHeaderGroupPanelBackground" Value="{StaticResource GroupPanelBackgroundBrush}"/> <Setter Property="AppearanceHeaderGroupPanelForeground" Value="{StaticResource GroupPanelForegroundBrush}"/> <Setter Property="AppearanceHeaderGroupPanelBorder" Value="{StaticResource GroupPanelBorderBrush}"/> <Setter Property="AppearanceHeaderGroupPanelBorderThickness" Value="1"/> <Setter Property="AppearanceHeaderColumnPanelBackground" Value="{StaticResource HeaderColumnPanelBackgroundBrush}"/> <Setter Property="AppearanceColumnBackground" Value="{StaticResource ColumnBackgroundBrush}"/> <Setter Property="AppearanceColumnCornerRadius" Value="8,8,0,0"/> <Setter Property="AppearanceColumnBorderThickness" Value="1.5"/> <Setter Property="AppearanceColumnBorder" Value="{StaticResource ColumnBorderBrush}"/> <Setter Property="AppearanceColumnForeground" Value="{StaticResource ColumnForegroundBrush}"/>
<Setter Property="AppearanceRowBackground" Value="{StaticResource RowBackgroundBrush}"/> <Setter Property="AppearanceRowForeground" Value="{StaticResource RowForegroundBrush}"/>
<Setter Property="AppearanceAlternatingRowBackground" Value="{StaticResource AlternatingRowBackgroundBrush}"/> <Setter Property="AppearanceAlternatingRowForeground" Value="{StaticResource RowForegroundBrush}"/>
<Setter Property="AppearanceGroupRowBackground" Value="{StaticResource GroupRowBackgroundBrush}"/> <Setter Property="AppearanceGroupRowForeground" Value="{StaticResource GroupRowForegroundBrush}"/>
<Setter Property="AppearanceHeaderSelectorBackground" Value="{StaticResource HeaderSelectorBackgroundBrush}"/> <Setter Property="AppearanceHeaderSelectorForeground" Value="{StaticResource HeaderSelectorForegroundBrush}"/> <Setter Property="AppearanceHeaderSelectorBorder" Value="{StaticResource HeaderSelectorBorderBrush}"/> <Setter Property="AppearanceHeaderSelectorBorderThickness" Value="0"/>
<Setter Property="AppearanceRowSelectorBackground" Value="{StaticResource RowSelectorBackgroundBrush}"/> <Setter Property="AppearanceRowSelectorBorderThickness" Value="1.5"/> <Setter Property="AppearanceRowSelectorBorder" Value="{StaticResource RowSelectorBorderBrush}"/> <Setter Property="AppearanceRowSelectorForeground" Value="{StaticResource RowSelectorForegroundBrush}"/>
<Setter Property="AppearanceCellBlinkBackground" Value="{StaticResource BlinkBrush}"/>
<Setter Property="AppearanceFocusBackground" Value="{StaticResource FocusBackgroundBrush}"/> <Setter Property="AppearanceFocusBorder" Value="{StaticResource FocusBorderBrush}"/> <Setter Property="AppearanceFocusBorderThickness" Value="0.8"/>
<Setter Property="AppearanceSelectionBackground" Value="{StaticResource SelectionBrush}"/> <Setter Property="AppearanceSelectionBorder" Value="{StaticResource SelectionBorderBrush}"/> <Setter Property="AppearanceSelectionBorderThickness" Value="0.8"/>
<Setter Property="AppearanceLassoBackground" Value="{StaticResource LassoBackgroundBrush}"/> <Setter Property="AppearanceLassoBorder" Value="{StaticResource LassoBorderBrush}"/> <Setter Property="AppearanceLassoBorderThickness" Value="0.5"/>
<Setter Property="TemplateExpansionButtonExpand" Value="{StaticResource ExpanderPlus}"/> <Setter Property="TemplateExpansionButtonCollapse" Value="{StaticResource ExpanderMinus}"/> </Style> </ResourceDictionary> |