Having trouble getting help?
Contact Support
Contact Support
Events in .NET MAUI Backdrop Page (SfBackdropPage)
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
. This event contains the following argument.
-
Percentage:
Represents the FrontLayer revealed height percentage.
<backdrop:SfBackdropPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BackdropGettingStarted.BackdropSamplePage"
Title="Menu"
xmlns:backdrop="clr-namespace:Syncfusion.Maui.Backdrop;assembly=Syncfusion.Maui.Backdrop"
BackLayerStateChanged="SfBackdropPage_BackLayerStateChanged"
>
</backdrop:SfBackdropPage>
private void SfBackdropPage_BackLayerStateChanged(object sender, BackLayerStateChangedEventArgs e)
{
// handle event action.
}