TabControl.UpdateTabSelection(Boolean) TabControl.UpdateTabSelection(Boolean) TabControl.UpdateTabSelection(Boolean) TabControl.UpdateTabSelection(Boolean) Method

Definition

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

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

protected:
 void UpdateTabSelection(bool uiselected);
protected void UpdateTabSelection (bool uiselected);
member this.UpdateTabSelection : bool -> unit
Protected Sub UpdateTabSelection (uiselected As Boolean)

Parameters

updateFocus
Boolean Boolean Boolean Boolean

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

Remarks

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.

Applies to