<Border x:Class="HandyControlDemo.UserControl.TextDialogWithTimer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
        xmlns:ex="clr-namespace:HandyControlDemo.Tools.Extension"
        xmlns:hc="https://handyorg.github.io/handycontrol"
        CornerRadius="10"
        Width="400"
        Height="247"
        DataContext="{Binding InteractiveDialog, Source={StaticResource Locator}}"
        Background="{DynamicResource RegionBrush}">
    <hc:SimplePanel>
        <Viewbox Width="80" Height="80">
            <TextBlock TextWrapping="Wrap" Style="{StaticResource TextBlockLargeBold}" Text="{ex:Lang Key={x:Static langs:LangKeys.PleaseWait}}"/>
        </Viewbox>
        <Button Name="ButtonClose" Width="22" Height="22" Command="{Binding CloseCmd}" Style="{StaticResource ButtonIcon}" Foreground="{DynamicResource PrimaryBrush}" hc:IconElement.Geometry="{StaticResource ErrorGeometry}" Padding="0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,4,4,0"/>
        <hc:CircleProgressBar Name="ProgressBarTimer" ShowText="False" Width="120" Height="120"/>
    </hc:SimplePanel>
</Border>
