App.xaml 729 B

12345678910111213141516
  1. <Application x:Class="Demo.App"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:Demo"
  5. StartupUri="MainWindow.xaml">
  6. <Application.Resources>
  7. <Style TargetType="TextBlock">
  8. <Setter Property="FontFamily" Value="Monotype Corsiva"></Setter>
  9. <Setter Property="FontSize" Value="16"></Setter>
  10. </Style>
  11. <Style TargetType="TextBox">
  12. <Setter Property="FontFamily" Value="Monotype Corsiva"></Setter>
  13. <Setter Property="FontSize" Value="16"></Setter>
  14. </Style>
  15. </Application.Resources>
  16. </Application>