RibbonTabHeader.OnRender Method (DrawingContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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
Show: