BCGControlBar Library for .NET
BuildTabItemRegionOneNote Method




Specifies a rectangle area which the tab item should be drawn around.
Specifies a docking style of the tab strip to draw a tab item.
Specifies if the tab item to draw is active.
Specifies the offset of the left border on drawing tab item.
Specifies the offset of the right border on drawing tab item.

Specifies a region to draw a tab item on the TabStrip with TabStripStyle::OneNote.

Syntax
'Declaration
 
Public Overridable Function BuildTabItemRegionOneNote( _
   ByVal rect As Rectangle, _
   ByVal dock As DockStyle, _
   ByVal selected As Boolean, _
   ByVal leftOffset As Integer, _
   ByVal rightOffset As Integer _
) As Region
'Usage
 
Dim instance As TabDrawManager
Dim rect As Rectangle
Dim dock As DockStyle
Dim selected As Boolean
Dim leftOffset As Integer
Dim rightOffset As Integer
Dim value As Region
 
value = instance.BuildTabItemRegionOneNote(rect, dock, selected, leftOffset, rightOffset)
public virtual Region BuildTabItemRegionOneNote( 
   Rectangle rect,
   DockStyle dock,
   bool selected,
   int leftOffset,
   int rightOffset
)
public: virtual Region* BuildTabItemRegionOneNote( 
   Rectangle rect,
   DockStyle dock,
   bool selected,
   int leftOffset,
   int rightOffset
) 
public:
virtual Region^ BuildTabItemRegionOneNote( 
   Rectangle rect,
   DockStyle dock,
   bool selected,
   int leftOffset,
   int rightOffset
) 

Parameters

rect
Specifies a rectangle area which the tab item should be drawn around.
dock
Specifies a docking style of the tab strip to draw a tab item.
selected
Specifies if the tab item to draw is active.
leftOffset
Specifies the offset of the left border on drawing tab item.
rightOffset
Specifies the offset of the right border on drawing tab item.
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