Events in Xamarin Backdrop Page (SfBackdropPage)

31 Oct 20191 minute to read

BackLayerStateChanged event

The BackLayerStateChanged event occurs when the backdrop page back layer is revealed and concealed. The event occurs in the cases mentioned in this documentation.

<?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.MainPage"
    Title="Menu"
    BackLayerStateChanged="BackLayerStateChanged" >
public MainPage()
    {
        InitializeComponent();
        this.BackLayerStateChanged += BackLayerStateChanged;
    }

private void BackLayerStateChanged(object sender, System.EventArgs e)
    {
        // handle event action.
    }