<UserControl x:Class="XFEEDToolBox.Controls.GalnetNewsPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Border BorderBrush="#2B3945" BorderThickness="1" Background="#030305" CornerRadius="10">
<StackPanel Spacing="0">
<Grid ColumnSpacing="12" Margin="20,16">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel Spacing="4">
<TextBlock Text="银河新闻" Style="{StaticResource SectionTitle}"/>
<TextBlock x:Name="EditionText" Text="Galnet · Frontier 官方新闻" Style="{StaticResource MutedText}" FontSize="12" TextWrapping="Wrap"/>
</StackPanel>
<Button x:Name="RefreshButton" Grid.Column="1" Click="RefreshClicked" VerticalAlignment="Center" AutomationProperties.Name="刷新银河新闻">
<StackPanel Orientation="Horizontal" Spacing="8">
<ProgressRing x:Name="RefreshProgress" Width="16" Height="16" IsActive="False" Visibility="Collapsed"/>
<FontIcon x:Name="RefreshIcon" Glyph="" FontSize="14"/>
<TextBlock x:Name="RefreshText" Text="刷新"/>
</StackPanel>
</Button>
</Grid>
<WebView2 x:Name="NewsBrowser" Height="400" DefaultBackgroundColor="#030305" AutomationProperties.Name="银河新闻轮播图"/>
<TextBlock x:Name="NewsStatus" Text="正在获取银河新闻…" Style="{StaticResource MutedText}" FontSize="11" TextWrapping="Wrap" Margin="20,10,20,12"/>
</StackPanel>
</Border>
</UserControl>
<UserControl x:Class="XFEEDToolBox.Controls.GalnetNewsPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Border BorderBrush="#2B3945" BorderThickness="1" Background="#030305" CornerRadius="10">
<StackPanel Spacing="0">
<Grid ColumnSpacing="12" Margin="20,16">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel Spacing="4">
<TextBlock Text="银河新闻" Style="{StaticResource SectionTitle}"/>
<TextBlock x:Name="EditionText" Text="Galnet · Frontier 官方新闻" Style="{StaticResource MutedText}" FontSize="12" TextWrapping="Wrap"/>
</StackPanel>
<Button x:Name="RefreshButton" Grid.Column="1" Click="RefreshClicked" VerticalAlignment="Center" AutomationProperties.Name="刷新银河新闻">
<StackPanel Orientation="Horizontal" Spacing="8">
<ProgressRing x:Name="RefreshProgress" Width="16" Height="16" IsActive="False" Visibility="Collapsed"/>
<FontIcon x:Name="RefreshIcon" Glyph="" FontSize="14"/>
<TextBlock x:Name="RefreshText" Text="刷新"/>
</StackPanel>
</Button>
</Grid>
<WebView2 x:Name="NewsBrowser" Height="400" DefaultBackgroundColor="#030305" AutomationProperties.Name="银河新闻轮播图"/>
<TextBlock x:Name="NewsStatus" Text="正在获取银河新闻…" Style="{StaticResource MutedText}" FontSize="11" TextWrapping="Wrap" Margin="20,10,20,12"/>
</StackPanel>
</Border>
</UserControl>