Bewerken

Share via


Shape.OnRender(DrawingContext) Method

Definition

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

protected:
 override void OnRender(System::Windows::Media::DrawingContext ^ drawingContext);
protected override void OnRender (System.Windows.Media.DrawingContext drawingContext);
override this.OnRender : System.Windows.Media.DrawingContext -> unit
Protected Overrides Sub OnRender (drawingContext As DrawingContext)

Parameters

drawingContext
DrawingContext

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

Applies to