Plix/PlixP/Views/Dialogs/LoadingDialog.xaml

35 lines
1.2 KiB
XML

<UserControl
x:Class="PlixP.Views.Dialogs.LoadingDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PlixP.Views.Dialogs"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="200"
d:DesignWidth="200"
Background="Transparent"
TextElement.FontSize="13"
TextElement.FontWeight="Regular"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
mc:Ignorable="d">
<materialDesign:Card
Padding="10"
materialDesign:ShadowAssist.ShadowDepth="Depth5"
UniformCornerRadius="10">
<StackPanel VerticalAlignment="Center">
<ProgressBar
Width="80"
Height="80"
IsIndeterminate="True"
Value="0" />
<TextBlock
Margin="0,15"
HorizontalAlignment="Center"
Text="Loading ...." />
</StackPanel>
</materialDesign:Card>
</UserControl>