Blame view

sources/RoboforkApp/Style/BorderStyle.xaml 1.6 KB
6312cbd86   doan   Task 2062
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
      <DropShadowEffect x:Key="ShadowEffect" ShadowDepth="1"/>
      <DropShadowEffect x:Key="DeepShadowEffect" ShadowDepth="3"/>
      <Style x:Key="BorderStyleWithoutEffect" TargetType="{x:Type Border}">
          <Setter Property="ToolTipService.ShowDuration" Value="30000"/>
          <Setter Property="BorderBrush" Value="{StaticResource LightBorderBrush}"/>
          <Setter Property="BorderThickness" Value="1"/>
          <Setter Property="CornerRadius" Value="8,8,8,8"/>
      </Style>
      <Style x:Key="BorderStyle" TargetType="{x:Type Border}">
          <Setter Property="ToolTipService.ShowDuration" Value="30000"/>
          <Setter Property="BorderBrush" Value="{StaticResource LightBorderBrush}"/>
          <Setter Property="BorderThickness" Value="1"/>
          <Setter Property="CornerRadius" Value="8,8,8,8"/>
          <Setter Property="Effect" Value="{StaticResource DeepShadowEffect}"/>
      </Style>
  
      <Style x:Key="HeaderBorderStyle" TargetType="{x:Type Border}">
          <Setter Property="ToolTipService.ShowDuration" Value="30000"/>
          <Setter Property="BorderBrush" Value="{StaticResource LightBorderBrush}"/>
          <Setter Property="BorderThickness" Value="1"/>
          <Setter Property="CornerRadius" Value="8,8,0,0"/>
          <Setter Property="Effect" Value="{StaticResource ShadowEffect}"/>
      </Style>
  
      <Style TargetType="{x:Type Border}">
          <Setter Property="ToolTipService.ShowDuration" Value="30000"/>
      </Style>
  
  </ResourceDictionary>