Hi!
I'd like to know if there are any events I can listen to when the user swipes the front layer of the backdrop up or down.
I've already tested all of the available events, but none of then were triggeredwhen swiping.
If there isn't an event, is there any way to set the Max height of the front layer, or change the Margin dinamically?
What I need to achieve is this:
Here's the code for what I've achieved so far:
<?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="MembersAPP.Views.Explore.NewsDetailsView"
BackLayerRevealOption="Auto"
IsBackLayerRevealed="True"
BackgroundColor="Red">
<!--<NavigationPage.TitleView>
<Image
Grid.Row="0"
HorizontalOptions="FillAndExpand"
Source="{Binding CurrentArticle.CoverImage}"
VerticalOptions="Start"
Aspect="AspectFill"/>
</NavigationPage.TitleView>-->
<backdrop:SfBackdropPage.BackLayer>
<backdrop:BackdropBackLayer
HeightRequest="195">
<Grid
VerticalOptions="Start"
BackgroundColor="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Image
Grid.Row="0"
Source="{Binding CurrentArticle.CoverImage}"
VerticalOptions="Start"
Aspect="AspectFill"/>
</Grid>
</backdrop:BackdropBackLayer>
</backdrop:SfBackdropPage.BackLayer>
<backdrop:SfBackdropPage.FrontLayer>
<backdrop:BackdropFrontLayer
RevealedHeight="250"
Margin="0, -12, 0, 0"
>
<Grid
VerticalOptions="StartAndExpand">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Label
Text="Hey"
HorizontalOptions="CenterAndExpand"
/>
</Grid>
</backdrop:BackdropFrontLayer>
</backdrop:SfBackdropPage.FrontLayer>
</backdrop:SfBackdropPage>
Thank you!