Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 303755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:13:03+00:00 2026-05-12T07:13:03+00:00

I have an animation in WPF that is jerky, my WPF form is layed

  • 0

I have an animation in WPF that is jerky, my WPF form is layed out as follows:

a 1280×800 Window contains a 2400×7** grid, seperated into 3 columns.

  • Column 1 is * width
  • Column 2 is 148 width
  • Column 3 is * width

This allows me to, using an animation, chage the grid’s margin to ~-1000 on the left side to bring the left column off screen, move the middle column to the far right, and then pan the right most column on screen (think of it like a 2 page panning design.)

This is all great, but my screen components animate at different speeds when i slide them left/right, is there a way to essentially double buffer my entire drawing space and pan it all together? or is this against the spirit of WPF.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:13:03+00:00Added an answer on May 12, 2026 at 7:13 am

    Simple buffering wouldn’t help with this problem, because it seems that lags are not in graphics, but rather in logic behind updating properties of different elements during animation. Following should help though:

    • On button click, render whole grid to RenderTargetBitmap.
    • Paint resulting image (RenderTargetBitmap inherits from BitmapSource) on some rectangle over the grid.
    • Hide the actual grid.
    • Animate bitmap, move hidden grid to the new position
    • Show grid
    • Hide bitmap

    As for spirit of WPF, it can be called necessary evil. You can notice how text rendering in WPF itself changes during scrolling, for example – using RenderTargetBitmap is no worse.

    Disclaimer: I didn’t try to reproduce problem nor read the XAML, but the method above naturally avoids all problems with vector graphics or hosted elements.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flex App that allows you to dynamically build an animation. It
I have a WPF app with a textblock that displays the current time. Said
In my WPF app, I have a feedback control that I want to appear
I have an animation and I want it to play it just only once.
I have a menu with an animation going on, but I want to disable
I have a .net winforms app which has a few animation effects, fade ins
I have a storyboard(1) that does some basic animations in 2 seconds. I want
I have an application that is very connection-based, i.e. multiple inputs/outputs. The UI concept
In a WPF 4 app, I have a very big user control full of
If you have created a silverlight business application you will see that in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.