ModalActionWindow.xaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <Window x:Class="Flyinsono.Server.Deployment.Tool.ModalActionWindow"
  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:extensions="clr-namespace:Flyinsono.Server.Deployment.Tool.Extensions"
  7. mc:Ignorable="d"
  8. Title="{Binding Title}"
  9. Background="Transparent"
  10. WindowStartupLocation="CenterOwner"
  11. ResizeMode="NoResize"
  12. WindowStyle="None"
  13. ShowInTaskbar="False"
  14. AllowsTransparency="True"
  15. Width="350"
  16. Height="150">
  17. <StackPanel Margin="10" >
  18. <StackPanel>
  19. <ProgressBar Style="{StaticResource progress-bar-info}"
  20. Visibility="{Binding IsBusy, Converter={extensions:BoolToVisibilityConverter}}"
  21. MinWidth="180"
  22. MinHeight="21"
  23. IsIndeterminate="True" />
  24. </StackPanel>
  25. <TextBlock Margin="7"
  26. Grid.Row="1" Text="{Binding Description}"
  27. FontWeight="SemiBold"
  28. Foreground="#ADD8E6"
  29. FontSize="20"
  30. TextWrapping="Wrap"
  31. HorizontalAlignment="Center"
  32. VerticalAlignment="Center"
  33. />
  34. </StackPanel>
  35. </Window>