BililiveRecorder/BililiveRecorder.WPF/Controls/AutoFixProgressDialog.xaml

23 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-02-27 18:14:44 +08:00
<ui:ContentDialog
x:Class="BililiveRecorder.WPF.Controls.AutoFixProgressDialog"
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:ui="http://schemas.modernwpf.com/2019"
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
2021-05-02 21:34:27 +08:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
2021-02-27 18:14:44 +08:00
xmlns:local="clr-namespace:BililiveRecorder.WPF.Controls"
Name="autoFixProgressDialog"
2021-05-02 21:34:27 +08:00
mc:Ignorable="d"
2021-02-27 18:14:44 +08:00
d:DesignHeight="450" d:DesignWidth="800">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<ui:ProgressRing Margin="10" Height="50" Width="50" IsActive="True"/>
<ui:ProgressBar Value="{Binding ElementName=autoFixProgressDialog,Path=Progress}" Width="200"/>
2021-05-02 21:34:27 +08:00
<Button HorizontalAlignment="Center" Margin="10" Content="{l:Loc Global_Cancel}" Click="Button_Click"
Visibility="{Binding ElementName=autoFixProgressDialog,Path=CancelButtonVisibility}"/>
2021-02-27 18:14:44 +08:00
</StackPanel>
</ui:ContentDialog>