Migrate from Xamarin.Forms SfBackdropPage to .NET MAUI SfBackdropPage
21 Dec 20222 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
OpenIcon
andCloseIcon
support has not been provided in the SfBackdropPage. Instead, you can achieve it using theOpenIconImageSource
andCloseIconImageSource
properties. Since theOpenIcon
andCloseIcon
are marked obsolete.