14 lines
350 B
C#
14 lines
350 B
C#
using System.Windows;
|
|
using System.Windows.Media.Animation;
|
|
|
|
namespace Ticker.Animation
|
|
{
|
|
public class TaggedDoubleAnimation : DoubleAnimation
|
|
{
|
|
public FrameworkElement TargetElement { get; set; }
|
|
protected override Freezable CreateInstanceCore()
|
|
{
|
|
return new TaggedDoubleAnimation{TargetElement = TargetElement};
|
|
}
|
|
}
|
|
} |