You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a collectionview, where the items have a fixed array property. scalar properties are rendered as expected, so I know templating and viewmodel do work. Access to array property does not work and I wonder, what the correct syntax may be.
The array instances have a scalar property and a property which is the result of a function call.
I tried "{Binding Crowd[0].foo}" for the scalar property and "{Binding Crowd[0].bar()}" for the function result.
None of it works.
What is the right way to access indexed properties?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm working on a collectionview, where the items have a fixed array property. scalar properties are rendered as expected, so I know templating and viewmodel do work. Access to array property does not work and I wonder, what the correct syntax may be.
The array instances have a scalar property and a property which is the result of a function call.
I tried "{Binding Crowd[0].foo}" for the scalar property and "{Binding Crowd[0].bar()}" for the function result.
None of it works.
What is the right way to access indexed properties?
Beta Was this translation helpful? Give feedback.
All reactions