WPF Loader
xaml
<UserControl
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="Easy5.WPF.Controls.Loader.Loader"
d:DesignWidth="" d:DesignHeight="" d:DataContext="in progress...">
<UserControl.Resources>
<Storyboard x:Key="Spinner" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value=""/>
<SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value=""/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value=""/>
<SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value=""/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value=""/>
<SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value=""/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</UserControl.Resources>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
<StackPanel.RenderTransform>
<ScaleTransform ScaleX="" ScaleY=""/>
</StackPanel.RenderTransform>
<Grid Height="" Width=""> <Path Data="M18.914732,23.212629 L18.895142,23.224648 C18.81415,23.273083 18.732565,23.320625 18.6504,23.367264 L18.568449,23.412558 z M6.0632586,23.212624 L6.4095631,23.412563 L6.3276014,23.367264 C6.2454362,23.320625 6.1638513,23.273083 6.0828605,23.224648 z M1.588828,18.60886 L1.7338108,18.85998 L1.6719655,18.756948 z M23.389194,18.60882 L23.306036,18.756948 L23.244184,18.859989 z M15.296973,18.352571 L18.301739,23.557018 L18.150551,23.636141 C16.63076,24.409578 14.931698,24.881344 13.132236,24.972559 L12.98899,24.978001 L12.98899,18.970055 C13.704363,18.915625 14.387255,18.745443 15.019094,18.478197 z M9.6810293,18.352571 L9.9589081,18.478197 C10.590748,18.745443 11.27364,18.915625 11.988889,18.970047 L11.989011,24.978001 L11.845766,24.972559 C10.046303,24.881344 8.3472404,24.409578 6.8274503,23.636141 L6.6762629,23.55702 z M17.85117,16.162214 L23.055824,19.167145 L22.92403,19.372938 C21.992462,20.782236 20.783052,21.991764 19.373854,22.92347 L19.16749,23.056583 L16.162178,17.851192 L16.378056,17.697681 C16.878584,17.323359 17.32336,16.878582 17.697681,16.378054 z M7.1268339,16.162214 L7.2803211,16.378054 C7.6546435,16.878582 8.0994196,17.323359 8.5999479,17.697681 L8.8158236,17.851192 L5.8105116,23.056583 L5.6041474,22.92347 C4.1949501,21.991764 2.9855397,20.782236 2.0539713,19.372938 L1.922178,19.167145 z M18.970057,12.988994 L24.978001,12.988994 L24.973463,13.112262 C24.885372,14.906229 24.419086,16.600782 23.652655,18.117863 L23.55648,18.301517 L18.352556,15.297009 L18.478199,15.019094 C18.745445,14.387254 18.915627,13.704363 18.970049,12.989113 z M0,12.988994 L6.007947,12.988994 C6.062377,13.704363 6.2325578,14.387254 6.4998035,15.019094 L6.6254463,15.297009 L1.4215209,18.301519 L1.3253467,18.117863 C0.55891621,16.600782 0.092628479,14.906229 0.0045375051,13.112262 z M23.55648,6.6764827 L23.652655,6.8601365 C24.419086,8.3772182 24.885372,10.071771 24.973463,11.865738 L24.978001,11.989008 L18.970057,11.989008 C18.915627,11.273639 18.745445,10.590747 18.478199,9.9589071 L18.352556,9.6809921 z M1.4215198,6.6764827 L6.6254458,9.6809931 L6.4998035,9.9589071 C6.2325578,10.590747 6.062377,11.273639 6.0079546,11.988888 L0,11.989008 L0.0045375051,11.865738 C0.092628457,10.071771 0.55891621,8.3772182 1.3253467,6.8601365 z M1.733886,6.117897 L1.5887085,6.3693542 L1.6719655,6.2210512 z M23.24411,6.117887 L23.306036,6.2210517 L23.389297,6.3693624 z M19.167492,1.9214188 L19.373854,2.0545328 C20.783052,2.9862351 21.992462,4.1957636 22.92403,5.605063 L23.055824,5.8108554 L17.85117,8.8157873 L17.697681,8.599947 C17.32336,8.0994186 16.878584,7.6546426 16.378056,7.2803202 L16.16218,7.1268082 z M5.8105116,1.9214181 L8.8158226,7.1268086 L8.5999479,7.2803202 C8.0994196,7.6546426 7.6546435,8.0994186 7.2803211,8.599947 L7.1268334,8.8157873 L1.9221777,5.8108559 L2.0539713,5.6050625 C2.9855397,4.1957636 4.1949501,2.9862351 5.6041474,2.0545328 z M18.568375,1.5654017 L18.6504,1.6107372 C18.732565,1.6573762 18.81415,1.7049192 18.895142,1.7533529 L18.914783,1.7654024 z M6.4096365,1.5653971 L6.0632129,1.7654061 L6.0828605,1.7533529 C6.1638513,1.7049192 6.2454362,1.6573762 6.3276014,1.6107372 z M12.98899,0 L13.132236,0.0054426985 C14.931698,0.096658297 16.63076,0.56842172 18.150551,1.3418595 L18.301741,1.4209831 L15.296974,6.6254292 L15.019094,6.4998026 C14.387255,6.2325568 13.704363,6.062376 12.989114,6.0079536 z M11.989011,0 L11.989011,6.007946 C11.27364,6.062376 10.590748,6.2325568 9.9589081,6.4998026 L9.6810293,6.6254292 L6.6762629,1.4209824 L6.8274503,1.3418595 C8.3472404,0.56842172 10.046303,0.096658304 11.845766,0.0054426985 z" Fill="#B2FFFFFF" Stretch="Fill" StrokeThickness="" UseLayoutRounding="False"/>
<Path x:Name="path" Data="M12.500001,6.0000005 C8.9101496,6.0000005 6.000001,8.9101496 6.000001,12.500001 C6.000001,16.089851 8.9101496,19 12.500001,19 C16.089851,19 19.000002,16.089851 19.000002,12.500001 C19.000002,8.9101496 16.089851,6.0000005 12.500001,6.0000005 z M12.5,0 C19.403559,0 25,5.5964408 25,12.5 C25,19.403559 19.403559,25 12.5,25 C5.5964408,25 0,19.403559 0,12.5 C0,5.5964408 5.5964408,0 12.5,0 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill" StrokeThickness="" UseLayoutRounding="False" Clip="M30.290226,37.172916 L30.258854,37.192165 C30.129154,37.26973 29.998503,37.345863 29.866922,37.420551 L29.735685,37.493084 z M9.7097588,37.172909 L10.264334,37.493095 L10.13308,37.420551 C10.0015,37.345863 9.8708487,37.26973 9.7411499,37.192165 z M2.5443647,29.8004 L2.7765415,30.202545 L2.6775019,30.03755 z M37.455673,29.800335 L37.322502,30.03755 L37.223454,30.20256 z M24.496714,29.389977 L29.308573,37.724426 L29.06646,37.851135 C26.632652,39.089722 23.911758,39.845215 21.030083,39.991287 L20.800688,40 L20.800688,30.37882 C21.946293,30.291655 23.039883,30.019125 24.051718,29.591154 z M15.50329,29.389977 L15.948288,29.591154 C16.960121,30.019125 18.053711,30.291655 19.199118,30.378807 L19.199312,40 L18.969919,39.991287 C16.088242,39.845215 13.367349,39.089722 10.933542,37.851135 L10.691429,37.72443 z M28.587029,25.882318 L36.92181,30.694443 L36.710754,31.024002 C35.218933,33.280865 33.282173,35.217812 31.025469,36.709854 L30.694996,36.923023 L25.882261,28.587065 L26.22797,28.34123 C27.02952,27.741785 27.741789,27.029516 28.34123,26.227966 z M11.412978,25.882318 L11.658774,26.227966 C12.258217,27.029516 12.970486,27.741785 13.772037,28.34123 L14.117742,28.587065 L9.3050079,36.923023 L8.974534,36.709854 C6.7178326,35.217812 4.7810717,33.280865 3.2892494,31.024002 L3.0781944,30.694443 z M30.378824,20.800694 L40,20.800694 L39.992733,20.998096 C39.851665,23.870972 39.10495,26.584646 37.877579,29.014112 L37.723564,29.308218 L29.389954,24.496773 L29.591158,24.051716 C30.019129,23.039881 30.291658,21.946293 30.378811,20.800884 z M8.3446503E-07,20.800694 L9.6211824,20.800694 C9.7083473,21.946293 9.980876,23.039881 10.408846,24.051716 L10.610051,24.496773 L2.2764375,29.308222 L2.1224232,29.014112 C0.8950544,26.584646 0.14833693,23.870972 0.0072672651,20.998096 z M37.723564,10.691781 L37.877579,10.985886 C39.10495,13.415355 39.851665,16.129026 39.992733,19.001902 L40,19.199308 L30.378824,19.199308 C30.291658,18.053709 30.019129,16.960119 29.591158,15.948286 L29.389954,15.50323 z M2.2764356,10.691781 L10.610051,15.503232 L10.408846,15.948286 C9.980876,16.960119 9.7083473,18.053709 9.6211948,19.199116 L8.3446503E-07,19.199308 L0.0072672651,19.001902 C0.14833693,16.129026 0.8950544,13.415355 2.1224232,10.985886 z M2.7766619,9.7972565 L2.5441735,10.199943 L2.6775019,9.9624491 z M37.223331,9.7972412 L37.322502,9.96245 L37.455837,10.199956 z M30.694998,3.0769782 L31.025469,3.290148 C33.282173,4.7821846 35.218933,6.7191348 36.710754,8.9759998 L36.92181,9.3055573 L28.587029,14.117683 L28.34123,13.772035 C27.741789,12.970484 27.02952,12.258215 26.22797,11.658772 L25.882265,11.412936 z M9.3050079,3.076977 L14.117741,11.412937 L13.772037,11.658772 C12.970486,12.258215 12.258217,12.970484 11.658774,13.772035 L11.412977,14.117683 L3.0781941,9.3055582 L3.2892494,8.9759989 C4.7810717,6.7191348 6.7178326,4.7821846 8.974534,3.290148 z M29.735567,2.5068491 L29.866922,2.5794499 C29.998503,2.6541378 30.129154,2.7302737 30.258854,2.8078356 L30.29031,2.8271322 z M10.264452,2.5068419 L9.7096853,2.8271379 L9.7411499,2.8078356 C9.8708487,2.7302737 10.0015,2.6541378 10.13308,2.5794499 z M20.800688,2.3841858E-07 L21.030083,0.0087161949 C23.911758,0.15478972 26.632652,0.910276 29.06646,2.1488664 L29.308577,2.2755756 L24.496716,10.610023 L24.051718,10.408844 C23.039883,9.9808741 21.946293,9.7083454 20.800888,9.6211929 z M19.199312,2.3841858E-07 L19.199312,9.6211805 C18.053711,9.7083454 16.960121,9.9808741 15.948288,10.408844 L15.50329,10.610023 L10.691429,2.2755744 L10.933542,2.1488664 C13.367349,0.910276 16.088242,0.15478972 18.969919,0.0087161949 z">
<Path.Fill>
<RadialGradientBrush RadiusY="0.35" Center="0.324,0.328" GradientOrigin="0.324,0.328" RadiusX="0.662">
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterY="0.335" CenterX="0.396" Angle="11.429"/>
<TranslateTransform X="-0.279" Y="0.064"/>
<ScaleTransform ScaleY="0.495" ScaleX="0.478"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
<GradientStop Color="#00FFFFFF" Offset="0.687"/>
<GradientStop Color="#FF47B1DC" Offset="0.681"/>
</RadialGradientBrush>
</Path.Fill>
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Path.RenderTransform>
</Path>
<Path x:Name="path2" Opacity="0.5" Data="M12.500001,6.0000005 C8.9101496,6.0000005 6.000001,8.9101496 6.000001,12.500001 C6.000001,16.089851 8.9101496,19 12.500001,19 C16.089851,19 19.000002,16.089851 19.000002,12.500001 C19.000002,8.9101496 16.089851,6.0000005 12.500001,6.0000005 z M12.5,0 C19.403559,0 25,5.5964408 25,12.5 C25,19.403559 19.403559,25 12.5,25 C5.5964408,25 0,19.403559 0,12.5 C0,5.5964408 5.5964408,0 12.5,0 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill" StrokeThickness="" UseLayoutRounding="False" Clip="M30.290226,37.172916 L30.258854,37.192165 C30.129154,37.26973 29.998503,37.345863 29.866922,37.420551 L29.735685,37.493084 z M9.7097588,37.172909 L10.264334,37.493095 L10.13308,37.420551 C10.0015,37.345863 9.8708487,37.26973 9.7411499,37.192165 z M2.5443647,29.8004 L2.7765415,30.202545 L2.6775019,30.03755 z M37.455673,29.800335 L37.322502,30.03755 L37.223454,30.20256 z M24.496714,29.389977 L29.308573,37.724426 L29.06646,37.851135 C26.632652,39.089722 23.911758,39.845215 21.030083,39.991287 L20.80069,40 L20.80069,30.37882 C21.946293,30.291655 23.039883,30.019125 24.051718,29.591154 z M15.50329,29.389977 L15.948288,29.591154 C16.960123,30.019125 18.053711,30.291655 19.199118,30.378807 L19.199312,40 L18.969919,39.991287 C16.088242,39.845215 13.367349,39.089722 10.933542,37.851135 L10.691429,37.72443 z M28.587029,25.882318 L36.92181,30.694443 L36.710754,31.024002 C35.218933,33.280865 33.282173,35.217812 31.025469,36.709854 L30.694996,36.923023 L25.882261,28.587065 L26.22797,28.34123 C27.02952,27.741785 27.741789,27.029516 28.34123,26.227966 z M11.412978,25.882318 L11.658774,26.227966 C12.258217,27.029516 12.970486,27.741785 13.772037,28.34123 L14.117742,28.587065 L9.3050079,36.923023 L8.974534,36.709854 C6.7178326,35.217812 4.7810717,33.280865 3.2892494,31.024002 L3.0781944,30.694443 z M30.378824,20.800694 L40,20.800694 L39.992733,20.998096 C39.851665,23.870972 39.10495,26.584646 37.877579,29.014112 L37.723564,29.308218 L29.389954,24.496773 L29.591158,24.051716 C30.019129,23.039881 30.291658,21.946295 30.378811,20.800884 z M8.3446503E-07,20.800694 L9.6211824,20.800694 C9.7083473,21.946295 9.980876,23.039881 10.408846,24.051716 L10.610051,24.496773 L2.2764375,29.308222 L2.1224232,29.014112 C0.8950544,26.584646 0.14833693,23.870972 0.0072672651,20.998096 z M37.723564,10.691781 L37.877579,10.985886 C39.10495,13.415355 39.851665,16.129026 39.992733,19.001902 L40,19.199308 L30.378824,19.199308 C30.291658,18.053709 30.019129,16.960121 29.591158,15.948286 L29.389954,15.50323 z M2.2764356,10.691781 L10.610051,15.503232 L10.408846,15.948286 C9.980876,16.960121 9.7083473,18.053709 9.6211948,19.199116 L8.3446503E-07,19.199308 L0.0072672651,19.001902 C0.14833693,16.129026 0.8950544,13.415355 2.1224232,10.985886 z M2.7766619,9.7972565 L2.5441735,10.199943 L2.6775019,9.9624491 z M37.223331,9.7972412 L37.322502,9.96245 L37.455837,10.199956 z M30.694998,3.0769782 L31.025469,3.290148 C33.282173,4.7821846 35.218933,6.7191348 36.710754,8.9759998 L36.92181,9.3055573 L28.587029,14.117683 L28.34123,13.772035 C27.741789,12.970484 27.02952,12.258215 26.22797,11.658772 L25.882265,11.412936 z M9.3050079,3.076977 L14.117741,11.412937 L13.772037,11.658772 C12.970486,12.258215 12.258217,12.970484 11.658774,13.772035 L11.412977,14.117683 L3.0781941,9.3055582 L3.2892494,8.9759989 C4.7810717,6.7191348 6.7178326,4.7821846 8.974534,3.290148 z M29.735567,2.5068491 L29.866922,2.5794499 C29.998503,2.6541378 30.129154,2.7302737 30.258854,2.8078356 L30.29031,2.8271322 z M10.264452,2.5068419 L9.7096853,2.8271379 L9.7411499,2.8078356 C9.8708487,2.7302737 10.0015,2.6541378 10.13308,2.5794499 z M20.80069,2.3841858E-07 L21.030083,0.0087161949 C23.911758,0.15478972 26.632652,0.910276 29.06646,2.1488664 L29.308577,2.2755756 L24.496716,10.610023 L24.051718,10.408844 C23.039883,9.9808741 21.946293,9.7083454 20.800886,9.6211929 z M19.199312,2.3841858E-07 L19.199312,9.6211805 C18.053711,9.7083454 16.960123,9.9808741 15.948288,10.408844 L15.50329,10.610023 L10.691429,2.2755744 L10.933542,2.1488664 C13.367349,0.910276 16.088242,0.15478972 18.969919,0.0087161949 z">
<Path.Fill>
<RadialGradientBrush RadiusY="0.35" Center="0.388,0.76" GradientOrigin="0.388,0.76" RadiusX="0.662">
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterY="0.693" CenterX="0.402" Angle="-14.532" />
<TranslateTransform X="-0.317" Y="-0.12"/>
<ScaleTransform ScaleY="0.495" ScaleX="0.478" />
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
<GradientStop Color="#00FFFFFF" Offset="0.687"/>
<GradientStop Color="#FF47B1DC" Offset="0.681"/>
</RadialGradientBrush>
</Path.Fill>
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Path.RenderTransform>
</Path>
<Path x:Name="path3" Opacity="0.15" Data="M12.500001,6.0000005 C8.9101496,6.0000005 6.000001,8.9101496 6.000001,12.500001 C6.000001,16.089851 8.9101496,19 12.500001,19 C16.089851,19 19.000002,16.089851 19.000002,12.500001 C19.000002,8.9101496 16.089851,6.0000005 12.500001,6.0000005 z M12.5,0 C19.403559,0 25,5.5964408 25,12.5 C25,19.403559 19.403559,25 12.5,25 C5.5964408,25 0,19.403559 0,12.5 C0,5.5964408 5.5964408,0 12.5,0 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill" StrokeThickness="" UseLayoutRounding="False" Clip="M30.290226,37.172916 L30.258854,37.192165 C30.129154,37.26973 29.998503,37.345863 29.866922,37.420551 L29.735685,37.493084 z M9.7097588,37.172909 L10.264334,37.493095 L10.13308,37.420551 C10.0015,37.345863 9.8708487,37.26973 9.7411499,37.192165 z M2.5443647,29.8004 L2.7765415,30.202545 L2.6775019,30.03755 z M37.455673,29.800335 L37.322502,30.03755 L37.223454,30.20256 z M24.496714,29.389977 L29.308573,37.724426 L29.06646,37.851135 C26.632652,39.089722 23.911758,39.845215 21.030083,39.991287 L20.80069,40 L20.80069,30.37882 C21.946293,30.291655 23.039883,30.019125 24.051718,29.591154 z M15.50329,29.389977 L15.948288,29.591154 C16.960123,30.019125 18.053711,30.291655 19.199118,30.378807 L19.199312,40 L18.969919,39.991287 C16.088242,39.845215 13.367349,39.089722 10.933542,37.851135 L10.691429,37.72443 z M28.587029,25.882318 L36.92181,30.694443 L36.710754,31.024002 C35.218933,33.280865 33.282173,35.217812 31.025469,36.709854 L30.694996,36.923023 L25.882261,28.587065 L26.22797,28.34123 C27.02952,27.741785 27.741789,27.029516 28.34123,26.227966 z M11.412978,25.882318 L11.658774,26.227966 C12.258217,27.029516 12.970486,27.741785 13.772037,28.34123 L14.117742,28.587065 L9.3050079,36.923023 L8.974534,36.709854 C6.7178326,35.217812 4.7810717,33.280865 3.2892494,31.024002 L3.0781944,30.694443 z M30.378824,20.800694 L40,20.800694 L39.992733,20.998096 C39.851665,23.870972 39.10495,26.584646 37.877579,29.014112 L37.723564,29.308218 L29.389954,24.496773 L29.591158,24.051716 C30.019129,23.039881 30.291658,21.946295 30.378811,20.800884 z M8.3446503E-07,20.800694 L9.6211824,20.800694 C9.7083473,21.946295 9.980876,23.039881 10.408846,24.051716 L10.610051,24.496773 L2.2764375,29.308222 L2.1224232,29.014112 C0.8950544,26.584646 0.14833693,23.870972 0.0072672651,20.998096 z M37.723564,10.691781 L37.877579,10.985886 C39.10495,13.415355 39.851665,16.129026 39.992733,19.001902 L40,19.199308 L30.378824,19.199308 C30.291658,18.053709 30.019129,16.960121 29.591158,15.948286 L29.389954,15.50323 z M2.2764356,10.691781 L10.610051,15.503232 L10.408846,15.948286 C9.980876,16.960121 9.7083473,18.053709 9.6211948,19.199116 L8.3446503E-07,19.199308 L0.0072672651,19.001902 C0.14833693,16.129026 0.8950544,13.415355 2.1224232,10.985886 z M2.7766619,9.7972565 L2.5441735,10.199943 L2.6775019,9.9624491 z M37.223331,9.7972412 L37.322502,9.96245 L37.455837,10.199956 z M30.694998,3.0769782 L31.025469,3.290148 C33.282173,4.7821846 35.218933,6.7191348 36.710754,8.9759998 L36.92181,9.3055573 L28.587029,14.117683 L28.34123,13.772035 C27.741789,12.970484 27.02952,12.258215 26.22797,11.658772 L25.882265,11.412936 z M9.3050079,3.076977 L14.117741,11.412937 L13.772037,11.658772 C12.970486,12.258215 12.258217,12.970484 11.658774,13.772035 L11.412977,14.117683 L3.0781941,9.3055582 L3.2892494,8.9759989 C4.7810717,6.7191348 6.7178326,4.7821846 8.974534,3.290148 z M29.735567,2.5068491 L29.866922,2.5794499 C29.998503,2.6541378 30.129154,2.7302737 30.258854,2.8078356 L30.29031,2.8271322 z M10.264452,2.5068419 L9.7096853,2.8271379 L9.7411499,2.8078356 C9.8708487,2.7302737 10.0015,2.6541378 10.13308,2.5794499 z M20.80069,2.3841858E-07 L21.030083,0.0087161949 C23.911758,0.15478972 26.632652,0.910276 29.06646,2.1488664 L29.308577,2.2755756 L24.496716,10.610023 L24.051718,10.408844 C23.039883,9.9808741 21.946293,9.7083454 20.800886,9.6211929 z M19.199312,2.3841858E-07 L19.199312,9.6211805 C18.053711,9.7083454 16.960123,9.9808741 15.948288,10.408844 L15.50329,10.610023 L10.691429,2.2755744 L10.933542,2.1488664 C13.367349,0.910276 16.088242,0.15478972 18.969919,0.0087161949 z">
<Path.Fill>
<RadialGradientBrush RadiusY="0.35" Center="0.441,1.216" GradientOrigin="0.441,1.216" RadiusX="0.662">
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterY="1.179" CenterX="0.452" Angle="-43.052"/>
<TranslateTransform X="-0.284" Y="-0.379"/>
<ScaleTransform ScaleY="0.495" ScaleX="0.478"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
<GradientStop Color="#00FFFFFF" Offset="0.687"/>
<GradientStop Color="#FF47B1DC" Offset="0.681"/>
</RadialGradientBrush>
</Path.Fill>
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Path.RenderTransform>
</Path>
</Grid>
<TextBlock Text="{Binding}" Foreground="Black" FontSize="" Margin="" FontFamily="Segoe WP SemiLight" HorizontalAlignment="Center" />
</StackPanel>
</UserControl>
cs
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation; namespace Easy5.WPF.Controls.Loader
{
public partial class Loader : UserControl
{
public Loader()
{
// Required to initialize variables
InitializeComponent(); Loaded += new RoutedEventHandler(Loader_Loaded);
} void Loader_Loaded(object sender, RoutedEventArgs e)
{
(Resources["Spinner"] as Storyboard).Begin();
}
}
}
WPF Loader的更多相关文章
- 4: 模块化应用程序开发 Modular Application Development Using Prism Library 5.0 for WPF (英汉对照版)
A modular application is an application that is divided into a set of loosely coupled functional uni ...
- C# wpf 使用资源文件 resx
随意新建一个wpf应用 在cs代码编辑,增加 using System.Resources; 放在最上 在方案新建文件夹 名 文件 在 文件 新建资源文件 资源.resx 资源.resx 添加字符串 ...
- 在WPF中使用依赖注入的方式创建视图
在WPF中使用依赖注入的方式创建视图 0x00 问题的产生 互联网时代桌面开发真是越来越少了,很多应用都转到了浏览器端和移动智能终端,相应的软件开发上的新技术应用到桌面开发的文章也很少.我之前主要做W ...
- MVVM框架从WPF移植到UWP遇到的问题和解决方法
MVVM框架从WPF移植到UWP遇到的问题和解决方法 0x00 起因 这几天开始学习UWP了,之前有WPF经验,所以总体感觉还可以,看了一些基础概念和主题,写了几个测试程序,突然想起来了前一段时间在W ...
- MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息
MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二 ...
- MVVM模式解析和在WPF中的实现(五)View和ViewModel的通信
MVVM模式解析和在WPF中的实现(五) View和ViewModel的通信 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 M ...
- MVVM设计模式和WPF中的实现(四)事件绑定
MVVM设计模式和在WPF中的实现(四) 事件绑定 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 MVVM模式解析和在WPF中 ...
- MVVM模式解析和在WPF中的实现(三)命令绑定
MVVM模式解析和在WPF中的实现(三) 命令绑定 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 MVVM模式解析和在WPF中 ...
- MVVM模式和在WPF中的实现(二)数据绑定
MVVM模式解析和在WPF中的实现(二) 数据绑定 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 MVVM模式解析和在WPF中 ...
随机推荐
- 【Unity3D】中的空引用 Null Reference Exception
Null Reference Exception : Object reference not set to an instance of an object. 异常:空引用,对象的引用未设置到对象的 ...
- Regsvr32注册ActiveX控件
命令:Regsvr32 XX.dll 注册ActiveX控件 Regsvr32命令参数:/u 卸载ActiveX控件/s 注册成功后不显示操作成功信息框/c 控制台输出/I 调用DllInstall安 ...
- 20150222—LINQ to SQL 插入、更新和删除
注意,使用LINQ to SQL时, 表中必须有一个主键才可以起效,否则系统将无法对数据作出修改 插入新数据,根据上一片的文章实例在其中添加新的控件: 编号TextBox(Name):sno 名字Te ...
- Java序列化与反序列化(Serializable)
Java序列化与反序列化(Serializable) 特别注意: 1.要序列化的类必须实现Serializable借口 2.在反序列化(读取对象)的时候必须额外捕获EOFException 3.序列化 ...
- android:layout_weight越大所占比例越大和越大所占比例越小的两个例子
摘要: 我的技术博客经常被流氓网站恶意爬取转载.请移步原文:http://www.cnblogs.com/hamhog/p/3907146.html,享受整齐的排版.有效的链接.正确的代码缩进.更好的 ...
- android SDK启动的错误
1. AVD Manager.exe : failed to execute tools android.bat 请把AVD Manager.exe复制到跟 SDK Manager.exe的相同目录下 ...
- mysql快速上手3
上一章给大家说的是数据库的视图,存储过程等等操作,这章主要讲索引,以及索引注意事项,如果想看前面的文章,url如下: mysql快速上手1 mysql快速上手2 索引简介 索引是对数据库表中一个或多个 ...
- ORACLE 基础知识积累
创建ORACLE 数据库,首先用Sys账号角色为dba进入数据库然后,然后根据创建数据库的表空间,然后创建角色,创建完角色后将表空间的权限授予角色. SQL语句如下: create temporary ...
- Informix 物联网应用示例(转)
相关概念 MQTT 是一个物联网传输协议,它被设计用于轻量级的发布/订阅式消息传输,旨在为低带宽和不稳定的网络环境中的物联网设备提供可靠的网络服务.MQTT 是专门针对物联网开发的轻量级传输协议.MQ ...
- [大牛翻译系列]Hadoop(7)MapReduce:抽样(Sampling)
4.3 抽样(Sampling) 用基于MapReduce的程序来处理TB级的数据集,要花费的时间可能是数以小时计.仅仅是优化代码是很难达到良好的效果. 在开发和调试代码的时候,没有必要处理整个数据集 ...