Skip to content

UITabContainer.AddComponentToTab Method

Definition

Namespace: Brine2D.UI

Overloads
AddComponentToTab\(int, IUIComponent\) Adds a component to the specified tab.
AddComponentToTab\(string, IUIComponent\) Adds a component to the specified tab by title.

UITabContainer.AddComponentToTab\(int, IUIComponent\) Method

Adds a component to the specified tab.

C#
public void AddComponentToTab(int tabIndex, Brine2D.UI.IUIComponent component);

Parameters

tabIndex System.Int32

component IUIComponent

UITabContainer.AddComponentToTab\(string, IUIComponent\) Method

Adds a component to the specified tab by title.

C#
public void AddComponentToTab(string tabTitle, Brine2D.UI.IUIComponent component);

Parameters

tabTitle System.String

component IUIComponent