BackdropPage - No default icons

It seems that the BackdropPage does not find the default icons / FileImageSource s. 

Is there any way to resolve this issue or to specify the icons manually  (doesn't matter to me if its in the XAML or in the code behind)?

Version of SfBackDrop: 18.2.0.59 18.3.0.35

Log:
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropDown.png
10-06 13:20:59.658 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropUp.png
10-06 13:20:59.838 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropHamburgerIcon.png
10-06 13:20:59.882 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropDown.png
10-06 13:21:08.164 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropDown.png
10-06 13:21:08.172 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropUp.png
10-06 13:21:09.704 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropUp.png
10-06 13:21:09.712 E/****(14407): Invalid ID 0x00000000.
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: backdropDown.png

P.S.: 
I tried to implement this: 
https://www.syncfusion.com/forums/146363/setting-openicon-closeicon-from-code-behind-to-a-non-image-file


5 Replies 1 reply marked as answer

HM Hemalatha Marikumar Syncfusion Team October 7, 2020 04:13 PM UTC

Hi Georg, 
 
Greetings from Syncfusion.  
 
We have referred the mentioned forum sample and we would like to let you know that, itself no more images are added or not having the usage of image. It has usage only with the font icons.  
 
This kind of reported things will be resolved by clearing the bin and exclude the added image in case of your application and then properly include it with its appropriate build action, rebuild.  
 
Please check it and let us know. 
 
Regards,
Hemalatha M. 



GE Georg October 8, 2020 05:02 AM UTC

Hi,

I think we have some sort of misunderstanding here. The files not found "backdropUp.png", "backdropDown.png", etc., have neither been added by me, nor is there any reference to those file names in the code. I've actually removed all the header customizations (https://help.syncfusion.com/xamarin/backdrop-page/header-configuration && the the non image file stuff mentioned in the last post), however the problem persists. 

Some background info: 
- It's a MVVM project (I've already tried installing the SF NuGet packages in the ViewModel, doesn't help). 
- I've updated the SF NuGets to 18.3.0.38
- It does not matter if the backdrop layer gets revealed by tapping or swiping. 



GE Georg October 8, 2020 06:18 AM UTC

I've taken the liberty and have created a small sample. I don't get the file errors in it, but the Header does not show either (so no defaults). Is there something missing in the documentation?



Attachment: SfSample_53232244.zip


SS Sridevi Sivakumar Syncfusion Team October 9, 2020 12:17 PM UTC

Hi Georg,

Currently, we are forwarding your query to the corresponding team, hence we will update the possible details on or before October 13, 2020.

Regards,
Sridevi S.  



SS Sridevi Sivakumar Syncfusion Team October 13, 2020 08:30 AM UTC

Hi Georg,

Thanks for your patience. On further validating the provided sample, it will be resolved by enabling the HasNavigationBar of NavigationPage in BackdropPage.


Code snippet:

XAML:
  
<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="SfSample.MdPageDetail"  
    NavigationPage.HasBackButton="False"  
    NavigationPage.HasNavigationBar="True"  
    BackLayerRevealOption="Auto"  
    IsBackLayerRevealed="False"  
    Title="SfBackdropPage">  
  
    <backdrop:SfBackdropPage.BackLayer>  
        <backdrop:BackdropBackLayer>  
            <ListView ItemsSource="{Binding BackLayerItems}"/>  
        </backdrop:BackdropBackLayer>  
    </backdrop:SfBackdropPage.BackLayer>  
     
    <backdrop:SfBackdropPage.FrontLayer>  
        <backdrop:BackdropFrontLayer EnableSwiping="True">  
          </backdrop:BackdropFrontLayer>  
    </backdrop:SfBackdropPage.FrontLayer>  
</backdrop:SfBackdropPage>  

We noticed, you have also applied that in C#, please ignore that 
 
  
   
       public MdPageDetail()   
        {   
            InitializeComponent();   
            NavigationPage.SetHasNavigationBar(this, false);   
       }   


Please check and let us know whether it has been resolved or not.


Regards,
Sridevi S.
 
 


Marked as answer
Loader.
Up arrow icon