1

Topic: WPF supports gif with animation?

Strange, but to networks write that it is a problem.
Do not say lies?
To me it is necessary as that to designate that in a background service works.
In  simply appropriated node a tree gif a picture with animation of type a watch.
It is necessary similarly, or other clear animation.

2

Re: WPF supports gif with animation?

Petro123 wrote:

it is strange, but to networks write that it is a problem.
Do not say lies?
To me it is necessary as that to designate that in a background service works.
In  simply appropriated node a tree gif a picture with animation of type a watch.
It is necessary similarly, or other clear animation.

In WPF bitmap graphics not in honor, it is possible to make vectorial with animation, take a watch from Material Design and simply rotate arrows by means of animation

3

Re: WPF supports gif with animation?

Roman Mejtes wrote:

raster

here did not know.
Pancake!
Well lazy I to move arrows. The chief should solve task business).
I think....
Idea!  small round is?
Variant?

4

Re: WPF supports gif with animation?

It is necessary as a variant
[img=https://o7planning.org/ru/11137/cache/images/i/3896256.png]

5

Re: WPF supports gif with animation?

Petro123;
[spoiler]

private void Window_Loaded (object sender, RoutedEventArgs e)
{
DoubleAnimation da = new DoubleAnimation (360, 0, new Duration (TimeSpan. FromSeconds (3)));
RotateTransform rt = new RotateTransform ();
image1.RenderTransform = rt;
image1.RenderTransformOrigin = new Point (0.5, 0.5);
da. RepeatBehavior = RepeatBehavior. Forever;
rt. BeginAnimation (RotateTransform. AngleProperty, da);
}
<Window x:Class = "WpfApplication1.Window1"
xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x = "http://schemas.microsoft.com/winfx/2006/xaml"
Title = "Window1" Height = "300" Width = "300" Loaded = "Window_Loaded">
<Grid>
<Image Margin = "41,30,38,35" Name = "image1" Stretch = "Fill" Source = "file:///E: \DOWNLOADS\WPFAPPLICATION2\WPFAPPLICATION1\WHEEL.PNG" IsEnabled = "True" StretchDirection = "Both"/>
</Grid>
</Window>

[/spoiler]

6

Re: WPF supports gif with animation?

Thanks!
all I will try I will unsubscribe.
It is a little code that I love)

7

Re: WPF supports gif with animation?

The most simple method - System. Windows. Forms and WindowsFormsIntegration in , in a window to thrust WindowsFormsHost, in it to thrust  Label, at which Image - an animated floccus.

8

Re: WPF supports gif with animation?

it is possible to find WPF-animations on search "WPF Spinner"

9

Re: WPF supports gif with animation?

wrote:

> Shocker. Pro, today, 08:49 [21623242]
>  it is possible to find WPF-animations on search "WPF Spinner"
> That that was necessary to me made:
[img=http://www.sql.ru/forum/actualfile.aspx?id=21623827&t=1]

and I pound asynchrony if all closed space?

10

Re: WPF supports gif with animation?

It is possible to draw still a vodka bottle which comes to an end. There will be even more evident progress a bar

11

Re: WPF supports gif with animation?

;
On design, there still rockets MBR to finish)

12

Re: WPF supports gif with animation?

Roman Mejtes;
Relic Hunter;
. for examples and idea. Works!
And the code that only 4 lines)).
Very Pavlovny dream;
It in an original way and abruptly. Unexpectedly).
Mandatory where  I "will interpose" and it is useful the approach.
. A picture with humour)
Shocker. Pro;
Yes. And I here searched 30 on a phrase wpf +gif+animation ((
...
All thanks! The code in )