Version

GetPreviousSelectableTabItem(ITabItem,Boolean) Method

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

Parameters

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

Return Value

The previous tab that is selectable.
Remarks
If no previous 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