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 7648475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:43:30+00:00 2026-05-31T10:43:30+00:00

I have been trying for some time to create a class/series of classes that,

  • 0

I have been trying for some time to create a class/series of classes that, upon detecting a resize in a related object, attempts to halt the resize of the object and create a smooth resize animation for it.
However, I have always had a problem with the objects ‘flickering’ on the screen for a second at the target size before the animation kicks in.

Long story short, after some serious debugging and self-doubt, I am under the impression that calling Storyboard.Begin() does not affect the target value until the next clock tick. I presume that this has something to do with Storyboard.Seek() not occuring until the next clock tick. (See the MSDN Reference). And as such, the object adopts its new height for a single frame before the animation kicks in which pulls it back to the starting height.

I have spent a long time trying to get this working because it’s not nearly as simple as it seems. I can’t set FrameworkElement.Height to the e.PreviousSize.Height in a FrameworkElement.SizeChanged event handler, because that affects the ‘true’ height of the object. As an example of why this doesn’t work, is if something changes the ‘true’ height of the object while the animation is playing, then re-setting FrameworkElement.Height to the target height that was collected when the animation began could set it as an incorrect, out-dated value.

There’s more things I’ve tried, and I’m sure they’ll come up as answers arrive, but any ideas you have will be very much appreciated.

  • 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-31T10:43:31+00:00Added an answer on May 31, 2026 at 10:43 am

    You’d probably have better luck by creating a layout container that handles the resize of the child objects, something like Robby Ingebretsen’s Animated Panel.

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

Sidebar

Related Questions

I have been trying to figure this out for some time. It seems lots
I have been trying to work with NIO SocketChannels for some time now, and
Ive been trying to create this code for some time now and just wondered
I have been trying some programs in the C Language and come across to
I have been trying to find some resource on this topic for a while
I have been trying to find some step by step guidance on how to
I have been trying all day to get some data properly formatted in a
I have been trying out Cassandra and need some help in understanding a few
I have been trying to get my head around some errors I get when
I have been trying to learn Erlang and have been running into some problems

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.