Version

DrawTabItem(Boolean,Boolean,Boolean,Boolean,UIElementButtonState,UIElementDrawParams,Rectangle,Rectangle) Method

Renders a themed tab item.
Syntax
'Declaration
 
Public Overloads Function DrawTabItem( _
   ByVal leftEdge As Boolean, _
   ByVal rightEdge As Boolean, _
   ByVal focused As Boolean, _
   ByVal selected As Boolean, _
   ByVal tabState As UIElementButtonState, _
   ByRef drawParams As UIElementDrawParams, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle _
) As Boolean
public bool DrawTabItem( 
   bool leftEdge,
   bool rightEdge,
   bool focused,
   bool selected,
   UIElementButtonState tabState,
   ref UIElementDrawParams drawParams,
   Rectangle rect,
   Rectangle clipRect
)

Parameters

leftEdge
True if the tab item has a complete left edge.
rightEdge
True if the tab item has a complete right edge.
focused
True if the tab item has focus.
selected
True if the tab item is selected.
tabState
State of the tab item.
drawParams
The UIElementDrawParams used to provide rendering information.
rect
Rect of the element.
clipRect
Clip rect.

Return Value

True if the element could be rendered using themes.
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