Stroke.Invalidated Event


Occurs when the appearance of the Stroke changes.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

public event EventHandler Invalidated

The InkPresenter handles the Invalidated event and calls the DrawCore method. If you inherit from the Stroke class and your stroke's appearance is based on a custom state, you must call the OnInvalidated method to raise the Invalidated event.

.NET Framework
Available since 3.0
Return to top