Panel.OnRender(DrawingContext) 方法

定义

Panel 元素的呈现处理过程中,绘制 DrawingContext 对象的内容。Draws the content of a DrawingContext object during the render pass of a Panel element.

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

参数

dc
DrawingContext

要绘制的 DrawingContext 对象。The DrawingContext object to draw.

适用于