Timeline::CurrentTimeInvalidated Event

 

Occurs when the CurrentTime property of the timeline's Clock is updated.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public:
event EventHandler^ CurrentTimeInvalidated {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

Use the CurrentStateInvalidated event when you want to be notified when the CurrentTime of a timeline's Clock is updated.

The Object parameter of the EventHandler event handler is the timeline's Clock.

Although this event handler appears to be associated with a timeline, it actually registers with the Clock created for this timeline. For more information, see the Timing Events Overview.

The following example shows how to register for the CurrentTimeInvalidated event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: