Hi Vially,
Greetings from Syncfusion.
We have validated your query and created a sample to achieve your requirement. Please find the sample from below link.
In this sample, we have done the following things,
1. Added TabItemTapped command to the SfTabview using Event to command behavior.
2. Get the SfTabItem as the arguments from TapItemTapped as like below code snippet
void OnTapped(Object obj) { model.Arguments = (obj as Syncfusion.XForms.TabView.TabItemTappedEventArgs)?.TabItem; model.TabHeaderPosition = ((obj as Syncfusion.XForms.TabView.TabItemTappedEventArgs)?.TabItem.Parent as SfTabView).TabHeaderPosition; }
|
Now, you can get the SfListView and information from the tab item content as like below code snippet
var content = (obj as Syncfusion.XForms.TabView.TabItemTappedEventArgs)?.TabItem.Content; |
We request you to try our sample and If your requirement is different from this, could you please share more information about this.
This will be helpful for us to provide you a good solution and improve us to serve you better.
Regards,
Muneesh Kumar G.