NotificationMessage.xaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <!--Content style. -->
  4. <Style TargetType="Grid" x:Key="NotificationContentStyle">
  5. <Setter Property="HorizontalAlignment" Value="Right"/>
  6. <Setter Property="VerticalAlignment" Value="Bottom"/>
  7. <Setter Property="Background" Value="#FF870F"/>
  8. <Setter Property="Margin" Value="0 0 0 20"/>
  9. </Style>
  10. <!--Content style. -->
  11. <Style TargetType="Grid" x:Key="NotificationContentInnerStyle">
  12. <Setter Property="HorizontalAlignment" Value="Center"/>
  13. <Setter Property="MaxWidth" Value="500"/>
  14. <Setter Property="Margin" Value="0 0 20 0"/>
  15. </Style>
  16. <!--Message caption style. -->
  17. <Style TargetType="TextBlock" x:Key="NotificationCaptionStyle">
  18. <Setter Property="FontSize" Value="{DynamicResource Heading2FontSize}"/>
  19. <Setter Property="FontFamily" Value="{DynamicResource Heading2FontFamily}"/>
  20. <Setter Property="FontWeight" Value="{DynamicResource Heading2FontWeight}"/>
  21. <Setter Property="Foreground" Value="{DynamicResource Heading2Foreground}"/>
  22. <Setter Property="TextWrapping" Value="Wrap" />
  23. <Setter Property="Margin" Value="20 20 20 0" />
  24. </Style>
  25. <!--Message caption style. -->
  26. <Style TargetType="TextBlock" x:Key="NotificationTextStyle">
  27. <Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
  28. <Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
  29. <Setter Property="FontWeight" Value="{DynamicResource DefaultFontWeight}"/>
  30. <Setter Property="Foreground" Value="{DynamicResource DefaultForeground}"/>
  31. <Setter Property="TextWrapping" Value="Wrap" />
  32. <Setter Property="Margin" Value="20 20 20 0" />
  33. </Style>
  34. <!--Modal button image -->
  35. <Style TargetType="Image" x:Key="NotificationButtonImage" BasedOn="{StaticResource ModalButtonImage}">
  36. <Setter Property="Margin" Value="20 20 0 20" />
  37. </Style>
  38. </ResourceDictionary>