- Home
- Forum
- Xamarin.Forms
- Is it possible to use BackdropPage within a ContentPage instead of as the base of the page
Is it possible to use BackdropPage within a ContentPage instead of as the base of the page
Currently, my application utilizes a custom base page to allow for a customized navigation bar.
Each page in the navigation hierarchy has the ability to display specific components within the base page construct. For one of my pages I have the desire to use the BackdropPage as a means to show/hide potential filters on the page - something like this:
SIGN IN To post a reply.
5 Replies
SJ
Suyamburaja Jayakumar
Syncfusion Team
February 12, 2020 02:14 PM UTC
Hi Matthew Bailey,
Greetings from Syncfusion.
Your updated query is not clear to understand at our end, since we were unaware of your exact requirement. So, can you please provide more details about your requirement with detailed pictorial representation or any other sample video for understanding the same which is more helpful to understand your query and provide a possible solution at earlier.
Regards,
Suyamburaja J
MB
Matthew Bailey
February 12, 2020 02:40 PM UTC
Based on the examples in your documentation, it appears that SfBackdropPage is utilized like this as the BASE like this:
<?xml version="1.0" encoding="UTF-8"?>
<backdrop:SfBackdropPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:backdrop="clr-namespace:Syncfusion.XForms.Backdrop;assembly=Syncfusion.SfBackdrop.XForms"
x:Class="BackdropGettingStarted.BackdropSamplePage"
Title="Menu">
</backdrop:SfBackdropPage> But I have the desire to do something like this by keeping my BASE_PAGE components rather than using Backdrop as the base:
<?xml version="1.0" encoding="UTF-8"?>
<hthbase:SingleSelectionBasePage
xmlns:pages="clr-namespace:HthApp.Pages"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:hthbase="clr-namespace:HthApp.Pages.BaseExtensions">
<?xml version="1.0" encoding="UTF-8"?>
<hthbase:SingleSelectionBasePage
xmlns:pages="clr-namespace:HthApp.Pages"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:hthbase="clr-namespace:HthApp.Pages.BaseExtensions">
<StackLayout />
<backdrop:SfBackdropPage>
//Content for Backdrop Page goes here
<backdrop:SfBackdropPage>
//Content for Backdrop Page goes here
</backdrop:SfBackdropPage>
</hthbase:SingleSelectionBasePage>
SJ
Suyamburaja Jayakumar
Syncfusion Team
February 13, 2020 11:13 AM UTC
Hi Matthew Bailey,
Thank you for your detailed information.
We would like to let you know that we have no support for adding the SfBackdropPage to the contents of the ContentPage. SfBackdropPage allows us to load the contents (collection of the elements) in both the front and back layers. If your requirement is similar to show the suggestion, please use SfComboBox .
Please let us know if you need any further assistance.
Regards,
Suyamburaja J.
MB
Matthew Bailey
February 13, 2020 03:56 PM UTC
SfComboBox won't work for my case.
I need something that allows for displaying a varying collection of objects (SfComboBox, SfCheckBox, SfSegmentedControl, etc) rather than just a list of items.
I may try looking at SfPopupLayout instead...
SJ
Suyamburaja Jayakumar
Syncfusion Team
February 14, 2020 08:39 AM UTC
Hi Matthew Bailey,
Thanks for your update.
Please check with SfPopupLayout and let us know whether your requirement has been fulfilled or not.
If you need any further assistance with SfBackdropPage, please let us know.
Regards,
Suyamburaja J.
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
MB Matthew Bailey
- Feb 11, 2020 12:49 PM UTC
- Feb 14, 2020 08:39 AM UTC