DownloadDialog.xaml 1.1 KB

123456789101112131415161718192021
  1. <ContentDialog
  2. x:Uid="Downloading"
  3. x:Class="SDLPal.DownloadDialog"
  4. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6. xmlns:local="using:SDLPal"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. mc:Ignorable="d"
  10. Title="正在下载……"
  11. PrimaryButtonText="停止"
  12. PrimaryButtonClick="OnPrimaryButtonClick"
  13. MinHeight="0" MinWidth="0"
  14. Closing="OnClosing" Opened="OnOpened" SizeChanged="OnSizeChanged">
  15. <StackPanel Orientation="Vertical">
  16. <WebView x:Name="DownloadPage" NavigationStarting="OnNavigateStart" DOMContentLoaded="OnDOMContentLoaded" ScrollViewer.HorizontalScrollMode="Auto" ScrollViewer.VerticalScrollMode="Auto" />
  17. <ProgressBar x:Name="pbDownload" HorizontalAlignment="Stretch" Height="12" Margin="0,8,0,4" />
  18. <TextBlock x:Name="tbProgress" HorizontalAlignment="Right" Height="20" Margin="0,4,0,0" Text="0 / 0" />
  19. </StackPanel>
  20. </ContentDialog>