InkCanvas::StrokesReplaced Event


Occurs when the Strokes property is replaced.

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

event InkCanvasStrokesReplacedEventHandler^ StrokesReplaced {
	void add(InkCanvasStrokesReplacedEventHandler^ value);
	void remove(InkCanvasStrokesReplacedEventHandler^ value);

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.

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

.NET Framework
Available since 3.0
Return to top