Api Sandbox UI Construct PanelCreator
struct

PanelCreator

public sealed struct PanelCreator

Used for Add for quick panel creation with certain settings. Other panels types are added via extension methods.

Methods

Panel Panel()

Add a new blank panel as a child.

returns — The crated panel.
Panel Panel(String classname)

Add a new blank panel with given CSS classes as a child.

returns — The crated panel.

Fields

Name Type Description
panel Panel The panel to add children to.
Assembly: Sandbox.Engine Namespace: Sandbox.UI.Construct Full Name: Sandbox.UI.Construct.PanelCreator