Version

DrawTheme Method (RibbonContentAreaPinButtonUIElement)

Used by an element to render using the system theme. This method will not be invoked if the themes are not supported.
Syntax
'Declaration
 
Protected Overrides Function DrawTheme( _
   ByRef drawParams As Infragistics.Win.UIElementDrawParams _
) As Boolean
protected override bool DrawTheme( 
   ref Infragistics.Win.UIElementDrawParams drawParams
)

Parameters

drawParams
The Infragistics.Win.UIElementDrawParams used to provide rendering information.

Return Value

Returning true will prevent the invocation of the DrawBackColor, DrawImageBackground, DrawBorders, DrawImage and DrawForeground. Return false when themes are not supported by the element or if unable to render using the system theme.
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