Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Problem with binding

$
0
0

Hi there,

I've a small problem regarding binding.

I have a ViewModel with 2 properties: ObservableCollection Comments and string Title.

My listview looks as following: <ListView x:Name="listView" ItemsSource="{Binding Comments}" HasUnevenRows="true">

This works great.. now the next thing I would like to do is access my Title inside a ViewCell. I tried:
{Binding Title}

But this this doesn't work. What am I doing wrong here?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>