We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How call xaml page

Hi folks,

based with this example ( https://help.syncfusion.com/xamarin/sfnavigationdrawer/getting-started?cs-save-lang=1&cs-lang=csharp#set-listview-as-drawer-content ),
how can I call a page and keep menu available in new page?

    private void listView_ItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            // Your codes here
            navigationDrawer.ToggleDrawer();
        }

Cheers

3 Replies

MS Mugundhan Saravanan Syncfusion Team February 9, 2019 09:28 AM UTC

Hi Folks,

Greetings from Syncfusion.

Our SfNavigationDrawer control is a ContentView control. Hence it only support changing between views. With the new page the ToggleDrawer will not work.

For changing the content view of SfNavigationDrawer, We have prepared a sample of MailBox using SfNavigationDrawer, in which the view collection will get updated with different item on menu (Primary Drawer of SfNavigationDrawer). You can also set any View to the ContentView of SfNavigationDrawer at the runtime.

Please have the sample from the below link.

http://www.syncfusion.com/downloads/support/directtrac/general/ze/SfNavigationDrawerSample-1525165262.zip  

Video link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationDrawerMailVideo-1980884020.zip  

Please let us know if you need any clarification on this.

Regards,
Mugundhan S.


JO Josep February 9, 2019 11:28 AM UTC

" SfNavigationDrawer control is a ContentView control. Hence it only support changing between views"

thanks. I will look for another navigation control. Please close this issue


DR Dhanasekar R Syncfusion Team February 11, 2019 10:28 AM UTC

Hi Josep, 
 
Thanks for the update. 
 
We will let you know once we have implemented support for Content Page in SfNvigationDrawer. 
 
Regards, 
Dhanasekar 


Loader.
Live Chat Icon For mobile
Up arrow icon