App.xaml 1.34 KB
Newer Older
M1888's avatar
M1888 committed
1 2 3 4 5 6
<Application x:Class="Lottokone.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Lottokone"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
M1888's avatar
M1888 committed
7 8 9
        <!-- Globaaleja tyylejä eri kontrolleille -->
        <Style TargetType="TextBlock">
            <Setter Property="TextWrapping" Value="WrapWithOverflow" />
M1888's avatar
M1888 committed
10
            <Setter Property="FontSize" Value="12" />
M1888's avatar
M1888 committed
11
        </Style>
M1888's avatar
M1888 committed
12 13 14 15 16 17

        <Style TargetType="ListViewItem">
            <Setter Property="FontSize" Value="14" />
        </Style>


M1888's avatar
M1888 committed
18 19 20 21 22 23
        <!-- Erikseen Style-propertyn käyttä käytettävät tyylit -->
        <Style TargetType="TextBox" x:Key="Asetusboksi">
            <Setter Property="DockPanel.Dock" Value="Right" />
            <Setter Property="Width" Value="150" />
            <Setter Property="Margin" Value="5" />
        </Style>
M1888's avatar
M1888 committed
24 25 26 27 28
        <Style TargetType="Label" x:Key="Isompi">
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="FontSize" Value="16" />
        </Style>

M1888's avatar
M1888 committed
29
        <Style TargetType="TextBox" x:Key="Lottonumero">
M1888's avatar
M1888 committed
30
            <Setter Property="Width" Value="10" />
M1888's avatar
M1888 committed
31 32 33
            <Setter Property="Margin" Value="3" />
        </Style>

M1888's avatar
M1888 committed
34 35
    </Application.Resources>
</Application>