ProgressForm.xaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <wpf:ThemableWindow x:Class="InABox.WPF.ProgressForm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:wpf="clr-namespace:InABox.Wpf"
  7. mc:Ignorable="d"
  8. Title="ProgressForm"
  9. WindowStartupLocation="CenterScreen"
  10. WindowStyle="None"
  11. BorderThickness="0"
  12. BorderBrush="Transparent"
  13. AllowsTransparency="True"
  14. Background="Transparent"
  15. SizeToContent="WidthAndHeight"
  16. MouseDown="Window_MouseDown"
  17. MaxWidth="550" MaxHeight="550">
  18. <Border CornerRadius="20" BorderBrush="Gray" BorderThickness="0.75" Padding="50,20,50,10" Background="White">
  19. <Grid Margin="10">
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="*" />
  22. <RowDefinition Height="Auto" />
  23. </Grid.RowDefinitions>
  24. <Border x:Name="Image" CornerRadius="10" BorderBrush="Transparent" />
  25. <Label
  26. Grid.Row="1"
  27. FontSize="18"
  28. FontStyle="Oblique"
  29. x:Name="Progress"
  30. Content="Please wait.."
  31. Margin="10,10,10,0"
  32. HorizontalContentAlignment="Center"
  33. VerticalContentAlignment="Center"
  34. Background="Transparent" />
  35. </Grid>
  36. </Border>
  37. </wpf:ThemableWindow>