Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StrokeCollection::Remove Method (StrokeCollection^)

 

Removes the specified strokes from the collection.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

public:
void Remove(
	StrokeCollection^ strokes
)

Parameters

strokes
Type: System.Windows.Ink::StrokeCollection^

The StrokeCollection to remove from the collection.

The Remove method raises the StrokesChanged event for each Stroke it removes.

The following example demonstrates how to remove all strokes that are at least 80 percent within the specified lasso from a StrokeCollection. This is useful when a custom control enables the user to select ink with a lasso. To create a control that enables a user to select ink with a lasso, see How to: Select Ink from a Custom Control.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft