Which templates are instantiating when nothing else matches.

It is recommend to specified Defaults="Default" or Defaults="None" when using an expression, or binding, for the matching fields. This avoids an issue where the field may be momentarily unset, resulting in all templates being instantiated.

The default is Standard: if none of Match, MatchKey or TemplateKey are specified the default will be created. If there is no explicitly marked default then all templates are instantiated.

A default template is marked wtih ux:DefaultTemplate="true"

<Each Items="{items}" MatchKey="{type}">
    <FrontCard ux:Template="front"/>
    <BackCard ux:Template="back"/>
    <DefaultCard ux:DefaultTemplate="true"/>
</Each>

Location

Namespace
Fuse.Reactive
Package
Fuse.Reactive.Bindings 1.11.2

Returns

InstanceDefaults

Possible Values

Standard

The standard strategy is used: if no matching specifiers use all templates, or the ones marked default if they exist

Default

Only ones marked default will be used as defaults

None

No defaults will be used