TextBlockのStyleを定義します。

 フォントの色をピンク

 背景を黒

にします。

 

    <Window.Resources>
        <Style TargetType="TextBlock">
            <Setter Property="Foreground" Value="LightPink" />
            <Setter Property="Background" Value="Black" />
        </Style>
    </Window.Resources>
    
    <TextBlock Text="test" />