TabControl.UpdateTabSelection Method (Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the Visible property to true for the appropriate TabPage control in the TabPages collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Protected Sub UpdateTabSelection (
	updateFocus As Boolean
)

Parameters

updateFocus
Type: System.Boolean

true to change focus to the next TabPage; otherwise, false.

This method ensures the appropriate TabPage is visible. If you want the tab control to set the Visible property to true for the next TabPage in the tab order, call this method with updateFocus set to true.

.NET Framework
Available since 1.1
Return to top
Show: