InkPresenter::Strokes Property
.NET Framework (current version)
Gets and sets the strokes that the InkPresenter displays.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property StrokeCollection^ Strokes { StrokeCollection^ get(); void set(StrokeCollection^ value); }
Property Value
Type: System.Windows.Ink::StrokeCollection^The strokes that the InkPresenter displays.
The following example programmatically creates a stroke and adds it to the InkPresenter. The example assumes that the Loaded event is connected to the event handler, WindowLoaded.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: