InkCanvas::Strokes Property
.NET Framework (current version)
Namespace:
System.Windows.Controls
Assembly: PresentationFramework (in PresentationFramework.dll)
Return to top
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example demonstrates how to use two StrokeCollection objects for 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 the click event is connected to the event handler, switchPlayersButton_Click.
The following example demonstrates how to bind the Strokes property of an InkCanvas to another InkCanvas.
.NET Framework
Available since 3.0
Available since 3.0
Show: