it's possible on click or on tapped or selectionchanged call a NavigationPage in SfTabItem?
And if possible there's an example?
My syncfusion release is 184.108.40.206
Thank You b
Query: Open NavigationPage into SfTabItem
We have created a sample as per your requirement. We have SelectionChanged event support, so we can navigate to the main page based on the selected index of TabView. We have prepared a new sample for your reference. In this sample, we have navigated to the HomePage when the selection index is 2.
Please get the sample from the attachments and let us know if you need any other details.
I am trying your example code in my project but it generates an error in the xaml file which is the following:
The 'Content' property does not support values of type 'Home'
Where am I wrong?
this is my code xaml:
<?xml version="1.0" encoding="utf-8" ?>
<tabView:SfTabItem Title="Home" >
Query: The 'Content' property does not support values of type 'Home'
We suspect you are using a ContentPage for the TabItem content. In our current implementation, we can only set Xamarin.Form.View as SfTabItem Content, so we don’t have support for loading the page as TabItem Content directly. We have already logged a feature report for this requirement and it can be tracked through our feature management system.
To achieve your requirement, you can set content page content as tab item content. Can you please refer to the following KB link to load the ContentPage content to the SfTabItem,
Please get back to us, if you have any concerns.