StrokeCollection Class
Represents a collection of Stroke objects.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
'Declaration <TypeConverterAttribute(GetType(StrokeCollectionConverter))> _ Public Class StrokeCollection _ Inherits Collection(Of Stroke) _ Implements INotifyPropertyChanged, INotifyCollectionChanged 'Usage Dim instance As StrokeCollection
<object>isfString</object>
<object StrokeCollection="isfString"/>
XAML Values
Term | Definition |
|---|---|
isfString | A string that represents the stroke in base-64, encoded Ink Serialized Format (ISF). |
The StrokeCollection enables you to perform functions such as hit testing, clipping, and erasing strokes. The InkCanvas control performs many of these functions, but if you need more control than the InkCanvas provides, the StrokeCollection offers more options.
The following table lists where to learn about managing digital ink on a custom control.
To do this… | See this article |
|---|---|
Create a control that collects digital ink | |
Create a control that enables the user to select ink | |
Create a control that enables the user to point-erase ink |
System.Collections.ObjectModel.Collection(Of Stroke)
System.Windows.Ink.StrokeCollection
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.