BCGControlBar Library for .NET
InitDrawContext Method




A graphics to draw on.
A current visual manager.
A tabStrip to be redrawn.
Called by the framework on painting tab strip. Initialize an object to redraw, graphics surface to draw on, the colors to use and the space between tab items.
Syntax
'Declaration
 
Public Overridable Sub InitDrawContext( _
   ByVal grph As Graphics, _
   ByVal visualManager As VisualManager, _
   ByVal tabStrip As TabStrip _
) 
'Usage
 
Dim instance As TabDrawManager
Dim grph As Graphics
Dim visualManager As VisualManager
Dim tabStrip As TabStrip
 
instance.InitDrawContext(grph, visualManager, tabStrip)
public virtual void InitDrawContext( 
   Graphics grph,
   VisualManager visualManager,
   TabStrip tabStrip
)
public: virtual void InitDrawContext( 
   Graphics* grph,
   VisualManager* visualManager,
   TabStrip* tabStrip
) 
public:
virtual void InitDrawContext( 
   Graphics^ grph,
   VisualManager^ visualManager,
   TabStrip^ tabStrip
) 

Parameters

grph
A graphics to draw on.
visualManager
A current visual manager.
tabStrip
A tabStrip to be redrawn.
Requirements

Target Platforms: 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

Reference

TabDrawManager Class
TabDrawManager Members

Send Feedback