Skip to content

UITabContainer.RemoveTab(int) Method

Definition

Namespace: Brine2D.UI

Removes the tab at tabIndex. If the removed tab was selected, the selection moves to index 0 \(or \-1 if no tabs remain\). If a tab before the selected one is removed, the selected index is decremented so the same tab stays selected. OnTabChanged fires only when the selected tab actually changes.

C#
public void RemoveTab(int tabIndex);

Parameters

tabIndex System.Int32