Version

DrawHeaderItem Method

Renders a themed header element.
Syntax
'Declaration
 
Public Function DrawHeaderItem( _
   ByVal type As ThemedHeader.HeaderItemType, _
   ByRef drawParams As UIElementDrawParams, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle, _
   ByVal state As UIElementButtonState _
) As Boolean

Parameters

type
Type of header item.
drawParams
The UIElementDrawParams used to provide rendering information.
rect
Rectangle
clipRect
Clip rect.
state
State of the header item.

Return Value

A boolean indicating if the theme could be rendered.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also