DrawingGroup::Open Method ()

 
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.

Opens the DrawingGroup in order to populate its Children and clears any existing Children.

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

public:
DrawingContext^ Open()

Return Value

Type: System.Windows.Media::DrawingContext^

A DrawingContext that can be used to describe the contents of this DrawingGroup object.

You must close the DrawingContext before you can render this DrawingGroup object.

.NET Framework
Available since 3.0
Return to top
Show: