July 28, 2014
Gets or sets the strokes that the InkPresenter displays.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<!--see Remarks; XAML usage is uncommon--> <InkPresenter> <InkPresenter.Strokes> oneOrMoreStrokes </InkPresenter.Strokes> </InkPresenter>
Dependency property identifier field: StrokesProperty
In practical terms, you would generally never replace the complete collection (by using the "set" aspect of this property). However, when the collection of strokes is populated by user input, you might add, remove, or query stroke items from the existing collection. Typically you do this by handling user input events, creating new Stroke objects based on starting and ending positions during user actions, and adding these strokes to the collection.