TabControl.UpdateTabSelection(Boolean) Metod

Definition

Anger egenskapen Visible till true för lämplig TabPage kontroll i TabPages samlingen.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

uiselectedupdateFocus
Boolean

trueför att ändra fokus till nästa TabPage; annars . false

Kommentarer

Den här metoden ser till att lämpliga TabPage visas. Om du vill att tabbkontrollen ska ange Visible egenskapen till true för nästa TabPage i flikordningen anropar du den här metoden med updateFocus inställd på true.

Gäller för