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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:47:53+00:00 2026-05-27T09:47:53+00:00

We are using a third party that has some shapes and when one of

  • 0

We are using a third party that has some shapes and when one of them are invalid I would like to make it glow. For the moment the only way I make it works is with a DropShadowEffect.

 myShape.Effect = new DropShadowEffect { BlurRadius = 120, Color = Color.FromArgb(220, 255, 0, 0), Direction = 0, ShadowDepth = 0 };

Unfortunately, this is not animated. I know that we can do some animation with VisualState, but I cannot see a way to use it with the UIElement.Effect.

How can I make this glowing effect in Silverlight if I do not have control of the canvas where the shapes are drawn, neither the shape itself since it’s a third party?

  • 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-27T09:47:54+00:00Added an answer on May 27, 2026 at 9:47 am

    I can have animation now but it works at 90%

    I set the effect like previously:

    myShape.Effect = new DropShadowEffect { BlurRadius = 500, Color = Color.FromArgb(255, 255, 0, 0), Direction = 0, ShadowDepth = 10, Opacity=100};

    Then I create a Storyboard and add it:

    var shadowExpand = new DoubleAnimation();
    shadowExpand.From = 1;
    shadowExpand.To = 0;
    shadowExpand.Duration = new Duration(TimeSpan.FromMilliseconds(2000));
    shadowExpand.RepeatBehavior = RepeatBehavior.Forever;
    shadowExpand.AutoReverse = true;
    Storyboard.SetTarget(shadowExpand, addFlowShape);
    Storyboard.SetTargetProperty(shadowExpand, new PropertyPath("(UIElement.Effect).(DropShadowEffect.Opacity)"));
    var stb = new Storyboard();
    stb.Children.Add(shadowExpand);
    


    The problem is that I see it doing nothing for 1999ms and then flick really fast from 100 to 0 without going gradually.

    Any body can make it smoother?

    I had to put 1 not 100 for opacity. Resolved thank you all.

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

Sidebar

Related Questions

I'm using a third party static library in my C++ project that has a
I am using a third-party Windows Forms control that performs some actions delayed using
I'm using a third-party library that returns XML that is not valid, because it
We're using a third-party middleware product that allows us to write code in an
I am using a third party web service that offers the following calls and
I'm using a third-party AJAX slideshow for a website that takes an RSS feed
Is it possible in IE8 without using third party plugin like Java?
I have a MySQL table from a third-party application that has millions of rows
I am using a third party shopping cart that sends a registration form to
I'm using a COM object from a third party library that generates periodic events.

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.