setInstanceProperty

Set a nested, named ViewModelInstance.

Parameters

path

The path to the property. Normally this is just the name of the property, but if it is in a nested ViewModelInstance, you can refer to it from a higher level with / characters as delimiters, e.g. "My Nested VM Property/My Nested Number Property".

instance

The new instance to set.

Throws

If the new instance is incompatible with the property's view model definition, i.e. it does not have the same properties defined; or if the property path does not refer to a valid property.