<UserControl x:Class="BeWo.View.WaitLayer" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:BeWo="clr-namespace:BeWo" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<UserControl.Resources>
		<Storyboard x:Key="OnLoaded1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="bSLogoControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" RepeatBehavior="Forever">
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="360" />
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource OnLoaded1}" />
		</EventTrigger>
	</UserControl.Triggers>
	<Grid>
		<Grid Background="White" Opacity="0.01" />
		<Border CornerRadius="5,5,5,5" Opacity="0.92" BorderThickness="1,1,1,1" Padding="5,5,5,5" BorderBrush="#FF606060" VerticalAlignment="Center" Width="250" Height="100" Background="#FFFFFFFF">
			<Border.OpacityMask>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#F3FFFFFF" Offset="0.027" />
					<GradientStop Color="#D7FFFFFF" Offset="1" />
				</LinearGradientBrush>
			</Border.OpacityMask>
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
					<RowDefinition Height="2*" />
				</Grid.RowDefinitions>

				<Label Content="Daten werden übertragen. Bitte warten..." Foreground="#FF000000" FontSize="12" FontFamily="Microsoft Sans Serif" FontWeight="Normal" HorizontalAlignment="Center" VerticalAlignment="Center" />

				<BeWo:BSLogoControl Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="60" Height="60" x:Name="bSLogoControl" RenderTransformOrigin="0.5,0.5" Background="#00000000" Foreground="{DynamicResource BSOrangeBrush}">
					<BeWo:BSLogoControl.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1" />
							<SkewTransform AngleX="0" AngleY="0" />
							<RotateTransform Angle="0" />
							<TranslateTransform X="0" Y="0" />
						</TransformGroup>
					</BeWo:BSLogoControl.RenderTransform>
				</BeWo:BSLogoControl>
			</Grid>
		</Border>
	</Grid>
</UserControl>