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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:45:52+00:00 2026-05-12T17:45:52+00:00

I have a TextBlock bound to a property on my view model. I have

  • 0

I have a TextBlock bound to a property on my view model. I have a StoryBoard with fades the text in and out using the Opacity property. I am using this text to give the user feedback after they have performed an operation(success, error etc). How can I start the StoryBoard when the property changes from my view model? Is there a better way to do this sort of effect?

  • 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-12T17:45:53+00:00Added an answer on May 12, 2026 at 5:45 pm

    Sorry, I hate to tell it to you – but you’re thinking about it wrong.

    Don’t think in storyboards, Opacity and Visiblity properties.
    Always think “Visual States”.

    What you just described (fading in a TextBlock in response to some business logic change) is a perfect case for using VisualStateManager states.

    Basically you’ll end up having a “Is” state group that’ll have one state for when the condition is met (some state has been achieved) and another for when it’s not met.

    I strongly suggest you spend 30 minutes watching these excellent Blend VSM tutorial videos.
    http://expression.microsoft.com/en-ca/cc643423.aspx
    Specifically the 7 minutes video under “Add States to a Control“.

    Erwin van dar valk just published an excellent article demoing how to change VSM states from MVVM that’s Pertinent to your situation.
    http://blogs.msdn.com/erwinvandervalk/archive/2009/10/12/how-to-work-with-animations-in-silverlight-in-the-mvvm-pattern.aspx

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

Sidebar

Related Questions

i have this LongListSelector bound to observerableCollection <DataTemplate x:Key=ucItems > <Grid Margin=0,0,0,17> <TextBlock Text={Binding
I have a user control that has a Title property bound to the Text
I have a standard texblock bound to a property in my viewmodel <TextBlock Grid.Row=3
I have a TextBlock that is bound to a DateTime property. How do I
If I have some (non-volatile) data bound to the UI via a view model,
I have a TextBlock in my XAML that has its text bound to a
I have a TextBlock bound to a property. However, I'd like to bold certain
I have a textblock that is bound to an object. This object I have
Given that we have the following View: <StackPanel> <TextBlock Text=Some text/> <Image Source={Binding vmImageProp}
Lets say i have a TextBlock thats bound to a DateTime, is there any

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.