<UserControl
    x:Class="Bili.Workspace.Controls.App.OverlayLoadingPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="using:Bili.Workspace.Controls.App"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    d:DesignHeight="300"
    d:DesignWidth="400"
    IsTabStop="False"
    mc:Ignorable="d">

    <Grid>
        <ProgressRing
            x:Name="LoadingRing"
            Style="{StaticResource PageProgressRingStyle}"
            IsActive="{x:Bind IsRingActive, Mode=OneWay}" />

        <ProgressBar
            HorizontalAlignment="Stretch"
            VerticalAlignment="Bottom"
            IsIndeterminate="True"
            Visibility="{x:Bind IsBarActive, Mode=OneWay}" />
    </Grid>
</UserControl>
