Is it possible to animate LedForeground

Gauge for WPF Forum

Posted 9 years ago by Miles Merckel
Version: 10.2.0533
Avatar
I was trying to animate the LedForeground other than the on off blink.

Despite LedForeground being a dependency property I could not get the BeginAnimation method to accept LedForeground.

Is it possible?
Many Thanks

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Miles,

Yes, you can animate the LedForeground, as it is simply a WPF Brush. You'd need to use an external ColorAnimation as show here:
http://msdn.microsoft.com/en-us/library/system.windows.media.animation.coloranimation.aspx


Actipro Software Support

The latest build of this product (v2019.1 build 0685) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.