jjctw1969
jjctw1969

Reputation: 59

How to get Xamarin form each CollectionView item?

I wanna change each ItemsSource,but I don't know how to do it?

A simple Code blow:

Upvotes: 0

Views: 126

Answers (1)

Jason
Jason

Reputation: 89082

var items = await MyDB.search(ChangeTextA.Change(sbar.Text));

foreach (var x in items)
{
  // change some properties on x
}

BKcv.ItemsSource = items;
 

Upvotes: 1

Related Questions