Version

GetNextSelectableTabItem(ITabItem,Boolean) Method

Returns the next ITabItem object in the collection whose ITabItem.Visible and ITabItem.Enabled properties are both true.
Syntax
'Declaration
 
Public Overloads Function GetNextSelectableTabItem( _
   ByVal tab As ITabItem, _
   ByVal wrap As Boolean _
) As ITabItem
public ITabItem GetNextSelectableTabItem( 
   ITabItem tab,
   bool wrap
)

Parameters

tab
The reference tab.
wrap
If true will wrap around to the beginning of the collection if no next selectable tab was found.

Return Value

The next tab that is selectable.
Remarks
If no next tab has its ITabItem.Visible and ITabItem.Enabled properties set to true then null is returned.
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