NotificationBox.xaml 1002 B

12345678910111213141516171819
  1. <UserControl x:Class="WindowsPhone.Recipes.Push.Client.Controls.NotificationBox"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d"
  7. FontFamily="{StaticResource PhoneFontFamilyNormal}"
  8. FontSize="{StaticResource PhoneFontSizeNormal}"
  9. Foreground="{StaticResource PhoneForegroundBrush}"
  10. d:DesignHeight="189" d:DesignWidth="480">
  11. <StackPanel Background="Black">
  12. <TextBlock Margin="4" Text="{Binding Title}" />
  13. <TextBlock Margin="4" Text="{Binding Message}" TextWrapping="Wrap" />
  14. <CheckBox IsChecked="{Binding ShowAgain, Mode=TwoWay}" Content="Show this message again" />
  15. <Button Margin="4" HorizontalAlignment="Right" Width="200" Content="OK" Click="buttonOk_Click" />
  16. </StackPanel>
  17. </UserControl>