TabControl.UpdateTabSelection Method

This method supports the .NET Framework 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 void UpdateTabSelection (
	bool updateFocus
)
protected void UpdateTabSelection (
	boolean updateFocus
)
protected function UpdateTabSelection (
	updateFocus : boolean
)
Not applicable.

Parameters

updateFocus

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: