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::Draw Method (DrawingContext^)

 

Draws the strokes in the StrokeCollection.

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

public:
void Draw(
	DrawingContext^ context
)

Parameters

context
Type: System.Windows.Media::DrawingContext^

The DrawingContext on which to draw the StrokeCollection.

The following example creates a custom element that displays a thumbnail view of an InkCanvas. The custom element keeps a reference to an InkCanvas and redraws itself when the StrokeCollected event occurs.

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