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've look all over the web and can't find a way to bind to a collection property inside a model. I've tried Text="{Binding Choices.ChoiceText" but that displays nothing. Is it possible to do this in .Net Maui? I'm using a view model called SectionsViewModel and it is creates an ObservableCollection called Sections. Any ideas? I've isolated the relevant code below.
`public class Section
{
public int SectionNumber { get; set; }
public String Summary { get; set; }
List Choices { get; set; }
public Section()
{
Choices = new List<Choice>();
}
}
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
`public class Section
{
public int SectionNumber { get; set; }
public String Summary { get; set; }
List Choices { get; set; }
Beta Was this translation helpful? Give feedback.
All reactions