H
H
HitGirl2019-05-03 19:52:11
.NET
HitGirl, 2019-05-03 19:52:11

Why is the image not showing in Image WPF?

Hello!
I added the picture to the project folder. In the tag, I set it in the Source attribute. Can you please tell me why the picture is not displayed when the program is executed?

<Image Name="panel1PinImage" Source="pinHorizontal.gif"></Image>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cyber_roach, 2019-05-05
@cyber_roach

Google the WPF URI
https://docs.microsoft.com/en-us/dotnet/framework/...
Ah, yes, the .gif file
. It's better to look for a display component for it. does not know how to play gif animation.
But there are many examples on the web.

G
GrWizard, 2019-05-07
@GrWizard

The answer has already been given, for this I will give advice, WPF works with vector graphics, go to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question