<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="NickvisionTagger.WinUI.Controls.StatusPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:NickvisionTagger.WinUI.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <StackPanel x:Name="StackPanel">
        <FontIcon x:Name="GlyphIcon" HorizontalAlignment="Center" FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{x:Bind Glyph, Mode=OneWay}" Visibility="Collapsed"/>

        <Image x:Name="AppIcon" HorizontalAlignment="Center" Visibility="Collapsed" Source="../Resources/org.nickvision.tagger.ico"/>

        <TextBlock x:Name="LblTitle" HorizontalAlignment="Center" TextWrapping="WrapWholeWords" Text="{x:Bind Title, Mode=OneWay}"/>

        <TextBlock x:Name="LblDescription" HorizontalAlignment="Center" Text="{x:Bind Description, Mode=OneWay}" TextWrapping="WrapWholeWords"/>

        <Frame x:Name="FrameChild" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="{x:Bind Child, Mode=OneWay}"/>
    </StackPanel>
</UserControl>
