Shape.OnRender(DrawingContext) Shape.OnRender(DrawingContext) 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

Parameters

drawingContext
DrawingContext DrawingContext DrawingContext

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

Applies to