OnRender Method

RibbonTabHeader.OnRender Method (DrawingContext)

.NET Framework 4.6 and 4.5

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:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void OnRender(
	DrawingContext drawingContext


Type: System.Windows.Media.DrawingContext

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

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
Available since 4.5
Return to top
© 2015 Microsoft