Skip to content

Latest commit

 

History

History
95 lines (58 loc) · 1.5 KB

File metadata and controls

95 lines (58 loc) · 1.5 KB

Propagating the Relevant Container

The relevant container is the parent control that defines the context in which a control operates. By default, this is the direct parent. If you have a control that defines the context for controls several levels deep in the control tree, you need to propagate the relevant container information.

For example, in forms, the form defines the context for all the groups and fields inside the groups. So, the form propagates the relevant container information to all groups, fields, and so on.

The relevant container is used, for example, to define the boundaries of a move action. It also defines where change handlers for some actions need to be registered..

The following table shows a hierarchical overview of the properties:

Property

(Level 1)

Property

(Level 2)

Property

(Level 3)

Description

aggregations : <object>

-

-

-

<aggregationName> : <object>

-

-

propagateRelevantContainer : <function | boolean> (optional)

Defines that this control is the relevant container for all successor elements.