Selection
To automatically set the selection value of the Toggle Button part, make an attribute-to-attribute connection between the selection attribute of the Toggle Button to a Boolean attribute of another part. Then, when the user selects the Toggle Button, the attribute in the other part will automatically have the new selection value. Conversely, when the other part changes its attribute, the Toggle Button automatically reflects the correct change.
Note:
Be careful about the order in which you make an attribute-to-attribute connection between the Toggle Button part's selection attribute and another part's attribute. If you start the connection from the Toggle Button part, the Toggle Button part's selection attribute will override whatever is in the other part's attribute. If you start the connection from the other part, the other part's attribute value will override the Toggle Button part's attribute.
Last modified date: 01/29/2015