Available in: Logi Info | Source code name: SharedElementParams | Introduced in: 12.2.116 |
SharedElementParams passes values into shared elements, causing SharedElement definitions to behave differently depending on the calling definition.
From inside the SharedElement definition, the parameter values are available with @Shared tokens.
@Shared tokens are replaced exactly with the values specified in SharedElementParams.
Example Calling Definition: <IncludeSharedElement DefinitionFile="myDefinition" SharedElementID="mySharedElement" > <SharedElementParams myParam1="value1" /> </IncludeSharedElement>
Example SharedElement Definition: <SharedElement ID="mySharedElement" > <Label Caption="@Shared.myParam1~" /> </SharedElement>
|