NotificationMessage.xaml 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. <controls:BaseUserControl x:Class="MediaBrowser.UI.Controls.NotificationMessage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:Controls="clr-namespace:MediaBrowser.UI.Controls"
  7. xmlns:controls="clr-namespace:MediaBrowser.UI.Controls;assembly=MediaBrowser.UI.Controls"
  8. mc:Ignorable="d"
  9. d:DesignHeight="300" d:DesignWidth="300">
  10. <Grid Style="{StaticResource NotificationContentStyle}">
  11. <Grid Style="{StaticResource NotificationContentInnerStyle}">
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="auto"></ColumnDefinition>
  14. <ColumnDefinition Width="*"></ColumnDefinition>
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="auto"></RowDefinition>
  18. <RowDefinition Height="auto"></RowDefinition>
  19. <RowDefinition Height="auto"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <Image Grid.Row="0" Grid.RowSpan="3" Grid.Column="0" Style="{StaticResource NotificationButtonImage}"></Image>
  22. <TextBlock x:Name="txtCaption" Text="{Binding Caption}" Style="{StaticResource NotificationCaptionStyle}" Grid.Row="0" Grid.Column="1"></TextBlock>
  23. <Grid x:Name="pnlContent" HorizontalAlignment="Stretch" Grid.Row="1" Grid.Column="1">
  24. </Grid>
  25. </Grid>
  26. </Grid>
  27. </controls:BaseUserControl>