About Panel Components

The Panel component is a container for other components, which you can use to organize your custom user interface into structured and collapsible regions with columns.

You can add components (including layout components) to a Panel component by dragging the components to the Panel component on the canvas.

This page discusses:

See Also
Adding Panel Components
About Rules
Creating Rules
Viewing Rules

Overview

The following figure shows an example of the properties of a Panel component:

The following figure shows the resulting Panel component in a custom simulation template after adding an Input component (labeled as Density) and a Checkbox component (labeled as Nonlinear) to the Panel component:

Properties

The Panel component has the following properties:

Property Description Type Supports Rule Creation
Name ID of the component (read-only) String
Label Text to display at the top of the component String
Columns Number of columns in the component (1–5) Integer
Collapsed Whether the component is initially collapsed or expanded in the simulation template Boolean
Read Only

Whether to prevent the user from interacting with the components contained within the Panel component.

When this property has a value of true, this setting overrides the Read Only properties of any components contained within the Panel component.

Boolean
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String