Comments (4)
Hi @lifuhua123,
Did you resolve the problem, or did you close this issue by accident?
from wpfanimatedgif.
from wpfanimatedgif.
I think it's an issue with the Visual Studio designer, not the library.
from wpfanimatedgif.
@lifuhua123 I found the issue... This problem occurs, when you define an Image in your template like the following:
<Image x:Name="ProgressImage" Source="..." />
but in the style trigger you set the animated gif like this:
<Trigger Property="tiaPortal:ProgressBar.Type" Value="Infinite">
<Setter Property="gif:AnimationBehavior.SourceUri" TargetName="ProgressImage" Value="..."/>
<Setter Property="Source" TargetName="ProgressImage" Value="{x:Null}"/>
</Trigger>
To resolve the design time error you need to also define gif:AnimationBehavior.SourceUri
with e.g. x:Null
<Image x:Name="ProgressImage" Source="..." gif:AnimationBehavior.SourceUri="{x:Null}" />
from wpfanimatedgif.
Related Issues (20)
- Set from code HOT 2
- Huge memory consumption HOT 1
- Application freezes when resizing the window HOT 1
- Memory Leak HOT 3
- Version is 0.0.0.0 HOT 6
- Crash application when reading specific gif HOT 1
- error HOT 1
- Memory Release Problem (2) HOT 11
- When changing GIFs, the animation stops working HOT 11
- Is there a way to free the BitmapImage ressources? HOT 2
- Some gif pics cannot display correctly. HOT 3
- Does not display a specific gif file HOT 3
- Not working with DrawingImage HOT 5
- File version lowered to 1.0.0 HOT 4
- Cache gif in memory so it plays instantly when shown HOT 7
- Delay animation for any gif? HOT 4
- Memory Leak HOT 3
- Pause and play with XAML HOT 1
- System.Windows.Markup.XamlParseException: Could not load 'file or assembly 'WpfAnimatedGif HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpfanimatedgif.