Edit

Share via


ToolBarTray.OnRender(DrawingContext) Method

Definition

Called when a ToolBarTray is displayed to get the Drawing Context (DC) to use to render the ToolBarTray.

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)

Parameters

dc
DrawingContext

Drawing context to use to render the ToolBarTray.

Applies to