Shape::OnRender Method (DrawingContext^)

 

Provides a means to change the default appearance of a Shape element.

Namespace:   System.Windows.Shapes
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnRender(
	DrawingContext^ drawingContext
) override

Parameters

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

A DrawingContext object that is drawn during the rendering pass of this Shape.

.NET Framework
Available since 3.0
Return to top
Show: