Version

ShouldDrawGlow Method

Whether a glow effect should be drawn on the tab item.
Syntax
'Declaration
 
Protected Overrides Sub ShouldDrawGlow( _
   ByVal tab As Infragistics.Win.UltraWinTabs.ITabItem, _
   ByRef shouldDraw As Boolean, _
   ByRef glowColor As Color, _
   ByRef glowOrientation As Infragistics.Win.GlowOrientation, _
   ByRef circleExtentPercentage As Integer, _
   ByRef firstFalloff As Integer, _
   ByRef secondFalloff As Integer, _
   ByRef drawAmbientGlow As Boolean _
) 
protected override void ShouldDrawGlow( 
   Infragistics.Win.UltraWinTabs.ITabItem tab,
   out bool shouldDraw,
   out Color glowColor,
   out Infragistics.Win.GlowOrientation glowOrientation,
   out int circleExtentPercentage,
   out int firstFalloff,
   out int secondFalloff,
   out bool drawAmbientGlow
)

Parameters

tab
The tab in question.
shouldDraw
Set to true to draw the glow.
glowColor
The base color of the glow.
glowOrientation
The location of the glow.
circleExtentPercentage
The percentage of the height/width, depending on the orientation, of the System.Drawing.Rectangle to draw the top of the glow.
firstFalloff
The percentage used to draw the inner glow, based on the distance from the edge of the tab, or the middle of the circle, whichever is closer, to the edge of the circle.
secondFalloff
The percentage used to draw the outer glow, based on the distance from the edge of the tab, or the middle of the circle, whichever is closer, to the edge of the circle.
drawAmbientGlow
Whether to draw an ambient glow gradient with the glow color.
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