StrokeCollection::Draw Method (DrawingContext^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: