Name of the field on each data object which selects templates for the data objects.

If set, the Each will instantiate the template with a name matching the MatchKey. If no match is found then the default template will be used, or no template if there is no default. The default template is the one explicitly marked with ux:DefaultTemplate="true".

Example

MatchKey can be used together with ux:Template to select the correct template based on a string field in the data source.

Instead of:

<Each Items="{listData}">
<Deferred>
    <Match Value="{type}">
        <Case String="month">
            <Panel ...

Do:

<Each Items="{listData}" MatchKey="type">
    <Deferred ux:Template="month">
        <Panel ...

Location

Namespace
Fuse.Reactive
Package
Fuse.Reactive.Bindings 2.9.1

Returns

string