Share via


RibbonTabHeader.OnRender Method

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.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Sub OnRender ( _
    drawingContext As DrawingContext _
)
protected override void OnRender(
    DrawingContext drawingContext
)
protected:
virtual void OnRender(
    DrawingContext^ drawingContext
) override
abstract OnRender : 
        drawingContext:DrawingContext -> unit 
override OnRender : 
        drawingContext:DrawingContext -> unit 
protected override function OnRender(
    drawingContext : DrawingContext
)

Parameters

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.

.NET Framework Security

See Also

Reference

RibbonTabHeader Class

Microsoft.Windows.Controls.Ribbon Namespace