Mashup Builder > Mashups > Responsive Mashups > Configuring Container Properties
Configuring Container Properties
You can use configuration options to customize the size and layout of a container and the items within it. When you select a container, its properties are displayed in two panels:
The Layout panel. For more information about the layout properties, see Responsive Mashups.
The Properties panel.
The following table lists the container properties on the Properties panel.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
EnableExpandCollapse
Enables you to expand or collapse the container using services. Enabling this property displays additional properties for this feature. You cannot enable this property for the top—level container in your mashup. To use this feature, add additional containers to the mashup.
* 
You can expand or collapse a container only when it is on the edge of the mashup.
BOOLEAN
False
N
N
UseTheme
Specifies whether the container is styled using style definitions or a style theme.
BOOLEAN
True
N
N
SourceURL
Enables you to enter a URL or select a media entity for the container background image.
STRING
n/a
N
N
Collapse
A bindable service that enables you to collapse the container.
n/a
n/a
Y
N
Expand
A bindable service that enables you to expand the container.
n/a
n/a
Y
N
Expanded
Specifies whether the container is expanded or collapsed by default when the mashup is loaded.
BOOLEAN
True
Y
N
ExpandTabIcon
The icon to display for the expand button when the container is collapsed.
Media Entity
n/a
N
N
CollapseTabIcon
The icon to display for the collapse button when the container is expanded.
Media Entity
n/a
N
N
ResetInputsToDefaultValue
A bindable service that resets all widget properties within the container to the values that you set when designing the mashup. This resets all input from users.
n/a
n/a
Y
N
ShowExpandCollapseTab
Shows a tab button at run time that expands or collapses the container when it is clicked.
BOOLEAN
False
N
N
ToggleExpandCollapse
A bindable service that expands or collapses the container.
n/a
n/a
Y
N
LazyLoading
Enables you to load, unload, and reload the container using widget, function, or service events at run time.
For more information, see Using Lazy Loading in a Mashup.
* 
Lazy loading properties are available in ThingWorx 9.3.2 or later.
BOOLEAN
False
N
N
LoadContainer
Enables you to load, unload, and reload the container based on widget, function, or service events at run time.
Service
Y
N
Loaded
An event that triggers when the container is loaded and displayed in the run-time mashup view. Only visible when LazyLoading is enabled. You can use this event to execute services that are bound to widgets within the container.
Event
Y
N
Margin
Sets the margin around the container. You can enter up to four values. For more information, see Configuring Margins and Padding for Containers.
* 
This property is available in ThingWorx 9.3.3 or later.
STRING
n/a
N
N
EnableContainerUnload
Enables you to unload the container and its content using the UnloadContainer service when the LazyLoading property is enabled. This property is only visible when LazyLoading is enabled.
BOOLEAN
False
N
N
UnloadContainer
Unloads the container and its content, including child containers from the run-time mashup view. Bind this event to events in the mashup, such as the Button widget Clicked event or Validation function True event.
Service
Y
N
ReloadContainer
Reloads the container and its content by unloading and loading it in the run-time mashup view. Only visible is EnableContainerUnload is selected/enabled
Service
Y
N
Visible
Controls the visibility of the container. The space used by non-visible containers is not preserved in the layout.
* 
This property is available in ThingWorx 9.3.6 or later.
BOOLEAN
True
Y
N
Was this helpful?