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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:26:01+00:00 2026-05-31T22:26:01+00:00

As titled, how can I do that? I have been reading some Silverlight/WPF animation

  • 0

As titled, how can I do that?

I have been reading some Silverlight/WPF animation tutorial, most of them are only teaching how can you animate a Control against different property and animation…

Say, if I dynamically add MyUserControl into a ListBox, how can I make the MyUserControl appears in the ListBox animated? (i.e fading inside, size from 0% to 100% in the list etc.)

I know in code-behind, I can focusly to do such a thing as follow pseudo code:

ListBox myListBox;
MyUserControl myUC;
myListBox.Items.Add(myUC);
//Trigger animation against myUC

But what I mean is, I am looking for something that I can use to apply on to the MyUserControl. So no matter where this MyUserControl add into (i.e Grid, TabControl, ListBox, TreeView etc), it plays an animation when it appears.

Is this possible? Either in Xaml or code-behind.

P.S. Explaination for dummy would be great, I have more experience onn animating control in code-behind rather than xaml.

  • 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-31T22:26:02+00:00Added an answer on May 31, 2026 at 10:26 pm

    In the UserControl definition you can add a Trigger for the Loaded event, upon which you can start the necessary animations via a Storyboard. If you prefer code-behind you can add a Loaded event handler and start some animations there.

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

Sidebar

Related Questions

I have been reading this paper titled Clone Detection using Abstract Syntax Trees by
I have been reading about model inheritances in django and have found that many
OK, I KNOW that variations on this have been asked and answered; I've been
I have been trying to use Hibernate for a while. I like hibernate that
I have been reading an article about C++ interfaces ( http://accu.org/index.php/journals/233 ) and I
I have been reading about speed issues in relation to getting a random row
I've been googling around and reading on SO, but nothing worked. I have a
Hello I've been doing some reading on CORS. I think I understand the concept.
I have a C# app that is reading data from a stored procedure and
I have been having some trouble lately with using custom classes as types. As

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.