StrokesReplaced Event

InkCanvas.StrokesReplaced Event


Occurs when the Strokes property is replaced.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

member StrokesReplaced : IEvent<InkCanvasStrokesReplacedEventHandler,

The following example demonstrates how to use two StrokeCollection objects that are co-located on the same InkCanvas. In this example, player one and player two each use an individual "inking surface" even though they share the same InkCanvas. This example assumes that the switchPlayersButton_Click event is connected to the event handler.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft