69 lines
3.7 KiB
XML
69 lines
3.7 KiB
XML
<Page
|
|
x:Class="FoxTube.Pages.Inbox"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:FoxTube.Pages"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
|
|
mc:Ignorable="d"
|
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="3*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ScrollViewer>
|
|
<StackPanel VerticalAlignment="Stretch" Background="#FFF2F2F2">
|
|
<ComboBox Header="Filter" Margin="10" HorizontalAlignment="Stretch" SelectedIndex="0" Name="filter" SelectionChanged="filter_SelectionChanged">
|
|
<ComboBoxItem Content="All"/>
|
|
<ComboBoxItem Content="Messages"/>
|
|
<ComboBoxItem Content="Patch notes"/>
|
|
</ComboBox>
|
|
<ListBox Name="list" SelectionChanged="list_SelectionChanged">
|
|
<ListBox.ItemContainerStyle>
|
|
<Style TargetType="ListBoxItem">
|
|
<Setter Property="Padding" Value="10"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
</Style>
|
|
</ListBox.ItemContainerStyle>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="auto"/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid Margin="0,0,10,0">
|
|
<Ellipse Fill="Red" Height="40" Width="40"/>
|
|
<TextBlock Foreground="White" FontFamily="Segoe MDL2 Assets" Text="{Binding Path=Icon}" VerticalAlignment="Center" HorizontalAlignment="Center" FontWeight="Light" FontSize="17"/>
|
|
</Grid>
|
|
<StackPanel Grid.Column="1">
|
|
<TextBlock FontWeight="Bold" Text="{Binding Path=Title}"/>
|
|
<TextBlock Foreground="Gray" Text="{Binding Path=Subtitle}"/>
|
|
</StackPanel>
|
|
<TextBlock Foreground="Gray" FontSize="13" Text="{Binding Path=TimeStamp}" Grid.Column="2"/>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
|
|
<ScrollViewer Grid.Column="1">
|
|
<StackPanel Margin="10">
|
|
<TextBlock FontWeight="Bold" Text="Hello, World!" FontSize="26" Name="title"/>
|
|
<controls:MarkdownTextBlock IsTextSelectionEnabled="True" Text="Content" Name="content"/>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
<Grid Grid.Column="1" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Name="block">
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" Text="" FontSize="75" Foreground="Gray" Margin="10"/>
|
|
<TextBlock Text="Select item from list" FontSize="32" VerticalAlignment="Center" Foreground="Gray"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Page>
|