Migrate from Xamarin.Forms SfBackdropPage to .NET MAUI SfBackdropPage
22 Sep 20252 minutes to read
To migrate from the Xamarin SfBackdropPage to .NET MAUI SfBackdropPage easier, most of the APIs from the Xamarin SfBackdropPage were kept in the .NET MAUI SfBackdropPage.
Namespaces
| Xamarin SfBackdropPage | .NET MAUI SfBackdropPage |
|---|---|
| Syncfusion.XForms.Backdrop | Syncfusion.Maui.Backdrop |
Initialize control
To initialize the control, import the Backdrop namespace and initialize the SfBackdropPage as shown in the following code sample.
| Xamarin Backdrop page |
|---|
|
| .NET MAUI Backdrop page |
|
Unsupported features from Xamarin.Forms
- The
OpenIconandCloseIconsupport has not been provided in the SfBackdropPage. Instead, you can achieve it using theOpenIconImageSourceandCloseIconImageSourceproperties. Since theOpenIconandCloseIconare marked obsolete.