The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
InkCanvas::StrokesReplaced Event
.NET Framework (current version)
Occurs when the Strokes property is replaced.
Assembly: PresentationFramework (in PresentationFramework.dll)
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
Available since 3.0
Show: