RibbonTabHeader.OnRender(DrawingContext) Method

Definition

Participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

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

The drawing instructions for a specific element. This context is provided to the layout system.

Remarks

This override calls the base OnRender method, and then ensures that the Ribbon is completely rendered before the TabHeaderLeft and TabHeaderRight properties are calculated.

Applies to