DrawingGroup.Open Method

Definition

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

public:
 System::Windows::Media::DrawingContext ^ Open();
public System.Windows.Media.DrawingContext Open ();
member this.Open : unit -> System.Windows.Media.DrawingContext
Public Function Open () As DrawingContext

Returns

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

Remarks

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

Applies to

See also