mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
32 lines
1.7 KiB
XML
32 lines
1.7 KiB
XML
<ui:Page
|
|
x:Class="BililiveRecorder.WPF.Pages.AnnouncementPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:ui="http://schemas.modernwpf.com/2019"
|
|
xmlns:local="clr-namespace:BililiveRecorder.WPF.Pages"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="600" d:DesignWidth="900">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Button HorizontalAlignment="Right" Margin="5,0" x:Name="RefreshButton" Click="Button_Click" MouseRightButtonUp="Button_MouseRightButtonUp">
|
|
<StackPanel Orientation="Horizontal">
|
|
<ui:PathIcon Style="{StaticResource PathIconDataRefresh}" VerticalAlignment="Center"/>
|
|
<TextBlock Text="刷新公告内容" Margin="5,0,0,0"/>
|
|
</StackPanel>
|
|
</Button>
|
|
<Decorator Margin="5" Grid.Row="1" x:Name="Container"/>
|
|
<StackPanel x:Name="Loading" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
|
|
<ui:ProgressRing IsActive="True" Width="80" Height="80" Margin="5"/>
|
|
<TextBlock TextAlignment="Center" FontSize="18" Text="Loading……"/>
|
|
</StackPanel>
|
|
<TextBlock x:Name="Error" Grid.Row="1" FontSize="20" Text="公告获取失败"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed"
|
|
Foreground="{DynamicResource SystemControlErrorTextForegroundBrush}"/>
|
|
</Grid>
|
|
</ui:Page>
|