internal override void DoAddedToView(GuiView view) { base.DoAddedToView(view); //When added to a view, notify all children of it as well foreach (var child in Children) { child.DoAddedToView(view); } }
internal virtual void DoAddedToView(GuiView view) { View = view; OnAddedToView?.Invoke(); }