Skip to content

UIPanel.AddChild(IUIComponent) Method

Definition

Namespace: Brine2D.UI

Adds a child component. Child positions are parent-relative: \(0, 0\) places the child at the top-left corner of this panel.

C#
public void AddChild(Brine2D.UI.IUIComponent child);

Parameters

child IUIComponent