BCGControlBar Library for .NET
ScrollToItem Method (TabStrip)




An item to display on scrolling.
Specifies if it is necessary to call AdjustLayout function after scrolling.
Scrolls the tab strip item so that the specified item should be displayed.
Syntax
'Declaration
 
Public Sub ScrollToItem( _
   ByVal item As TabItem, _
   ByVal adjustLayout As Boolean _
) 
'Usage
 
Dim instance As TabStrip
Dim item As TabItem
Dim adjustLayout As Boolean
 
instance.ScrollToItem(item, adjustLayout)
public void ScrollToItem( 
   TabItem item,
   bool adjustLayout
)
public: void ScrollToItem( 
   TabItem* item,
   bool adjustLayout
) 
public:
void ScrollToItem( 
   TabItem^ item,
   bool adjustLayout
) 

Parameters

item
An item to display on scrolling.
adjustLayout
Specifies if it is necessary to call AdjustLayout function after scrolling.
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

TabStrip Class
TabStrip Members

Send Feedback