aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Styles.xaml
blob: f83d71e926fcd30d664e1870b5477b9ee3b85b1b (plain)
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
32
33
34
35
36
37
38
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:keyboard="clr-namespace:Tango.Touch.Keyboard;assembly=Tango.Touch"
                    xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
                    xmlns:local="clr-namespace:Tango.PPC.UI.Resources">

    <Style TargetType="{x:Type keyboard:TouchKeyboard}" BasedOn="{StaticResource {x:Type keyboard:TouchKeyboard}}">
        <Setter Property="FontSize" Value="{StaticResource TangoKeyboardFontSize}"></Setter>
        <Setter Property="VectorMarkupSize" Value="25"></Setter>
        <Setter Property="Margin" Value="5"></Setter>
    </Style>

    <Style TargetType="{x:Type touch:TouchDataGrid}" BasedOn="{StaticResource {x:Type touch:TouchDataGrid}}">
        <Style.Resources>
            <Style TargetType="DataGridColumnHeader" BasedOn="{StaticResource {x:Type DataGridColumnHeader}}">
                <Setter Property="FontSize" Value="{StaticResource TangoDataGridHeaderFontSize}"></Setter>
            </Style>
        </Style.Resources>
    </Style>

    <Style TargetType="{x:Type touch:TouchButton}" BasedOn="{StaticResource {x:Type touch:TouchButton}}">
        <Setter Property="FontSize" Value="{StaticResource TangoButtonFontSize}"></Setter>
    </Style>

    <Style x:Key="TangoMessageBoxButton" TargetType="{x:Type touch:TouchButton}" BasedOn="{StaticResource TangoFlatButton}">
        <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
        <Setter Property="Foreground" Value="{StaticResource TangoDarkForegroundBrush}"></Setter>
        <Setter Property="FontSize" Value="{StaticResource TangoButtonFontSize}"></Setter>
        <Setter Property="BorderBrush" Value="{StaticResource TangoDividerBrush}"></Setter>
        <Setter Property="BorderThickness" Value="1 0 0 0"></Setter>
    </Style>

    <Style x:Key="TangoMessageBoxTitle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="{StaticResource TangoMessageBoxTitleFontSize}"></Setter>
        <Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}"></Setter>
    </Style>

</ResourceDictionary>