Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145329 | Jun 17,2019 10:05 PM UTC | Jun 24,2019 09:18 AM UTC | Xamarin.Forms | 5 |
![]() |
Tags: SfListView |
VisualContainer Container = listView.GetVisualContainer();
private void ListView_ItemHolding(object sender, ItemHoldingEventArgs e)
{
//Represents the underlying data model object.
var datamodel = e.ItemData as BookInfo;
var item = Container.Children.FirstOrDefault(x => x.BindingContext == datamodel) as ListViewItem;
if (item != null)
{
//Represents the child element of listview item.
var templatecontent = item.Content;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.