Hello,
If you want to use EntryCell
in the listview, you need to remove ViewCell
, add EntryCell
directly. You cannot nested use ViewCell
and EntryCell
.
<ListView ItemsSource="{Binding sfDataGridModelCollection}">
<ListView.ItemTemplate>
<DataTemplate>
<EntryCell Label="Name" Placeholder="Enter name" Text="{Binding LocalName}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
Here is a document about Data binding and MVVM, you can refer to it.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.