Загрузка данных


<Window.Resources>
    <LinearGradientBrush x:Key="a" StartPoint="0,0" EndPoint="1,1">
        <GradientStop Color="LightBlue" Offset="0.0"/>
        <GradientStop Color="LightBlue" Offset="1.0"/>
    </LinearGradientBrush>

    <Style x:Key="b" TargetType="TextBox">
        <Setter Property="AcceptsReturn" Value="True"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="Margin" Value="10"/>
        <Setter Property="Padding" Value="8"/>
        <Setter Property="Background" Value="White"/>
        <Setter Property="BorderBrush" Value="White"/>
        <Setter Property="BorderThickness" Value="1"/>

        <Setter Property="Height" Value="50"/>
        <Setter Property="FontSize" Value="11"/>

        <Style.Triggers>
            <Trigger Property="IsFocused" Value="True">
                <Setter Property="Height" Value="220"/>
                <Setter Property="FontSize" Value="18"/>
                <Setter Property="Background" Value="White"/>
                <Setter Property="BorderBrush" Value="Blue"/>
                <Setter Property="BorderThickness" Value="2"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="c" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0,10"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="14"/>
    </Style>
</Window.Resources>