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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:39:17+00:00 2026-06-04T22:39:17+00:00

pretty new to WPF, but i’ve made a Surface app to get peoples attention

  • 0

pretty new to WPF, but i’ve made a Surface app to get peoples attention in my office reception.

http://www.diaryofaninja.com/blog/2012/06/03/building-an-image-and-video-viewer-for-microsoft-surface-20-in-no-time-at-all

what I would like to do, is if people haven’t touched the screen for a while (i’m already recording this with a timer), I want to make each of the objects in my app “Throb” one by one to get peoples attention.

Would i use a transform or a storyboard?

  • 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-06-04T22:39:19+00:00Added an answer on June 4, 2026 at 10:39 pm

    I ended up calling the following method on a timer:

    void RunScaleAnimation(FrameworkElement e)
    {
    
    var storyboard = new Storyboard();
    var easeOut = new BackEase { EasingMode = EasingMode.EaseOut, Amplitude = 0.3 };
    
    double startHeight = e.ActualHeight;
    double startWidth = e.ActualWidth;
    
    var growAnimationHOut = new DoubleAnimation(startHeight, startHeight * 1.05,
                                                TimeSpan.FromMilliseconds(100)) { AutoReverse = true };
    
    var growAnimationWOut = new DoubleAnimation(startWidth, startWidth * 1.05,
                                                TimeSpan.FromMilliseconds(100)) { AutoReverse = true };
    
    growAnimationHOut.EasingFunction = easeOut;
    growAnimationWOut.EasingFunction = easeOut;
    
    storyboard.Children.Add(growAnimationHOut);
    storyboard.Children.Add(growAnimationWOut);
    
    Storyboard.SetTargetProperty(growAnimationWOut, new PropertyPath(FrameworkElement.WidthProperty));
    Storyboard.SetTargetProperty(growAnimationHOut, new PropertyPath(FrameworkElement.HeightProperty));
    
    e.BeginStoryboard(storyboard);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

sorry, I am pretty new in WPF and I think it's pretty easy, but
am pretty new to WPF, but am looking to capture whenever anyone touches inside
I'm pretty new to WPF however i've got a solid understanding of WindowsForms. When
I'm pretty new to WPF and using the MVVM design pattern. To help learn
Im pretty new to Java Web Services, but I cant find a good explanation
I'm pretty new to PHP, but I decided to try and make a simple
I have a problem in wpf xaml and i'm pretty new on this so
I'm kinda new at both programming, and WPF. I know that this is pretty
I'm pretty new to WPF and even newer to animations in WPF. I know
I'm pretty new to WPF, so please understand if this question is too simple.

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.