App.xaml 683 B

12345678910111213141516
  1. <Application x:Class="Exam.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:Exam"
  5. StartupUri="MainWindow.xaml">
  6. <Application.Resources>
  7. <Style TargetType="TextBlock">
  8. <Setter Property="FontFamily" Value="Comic Sans"/>
  9. <Setter Property="FontSize" Value="14"/>
  10. </Style>
  11. <Style TargetType="Button">
  12. <Setter Property="Background" Value="Gray"/>
  13. <Setter Property="Foreground" Value="White"/>
  14. </Style>
  15. </Application.Resources>
  16. </Application>