Hello all,
Thank your for this awesome plugin.
I'd like to implement the loginsuccess popup on my app.
I'm not doing any xaml, and I'm not finding how to translate that snippet into pure c# code :
<pages:PopupPage.Animation>
<animations:MoveAnimation
PositionIn="Top"
PositionOut="Top"/>
</pages:PopupPage.Animation>
Where should I do that ?
I've got a page, extends popupPage and stacklayout with label as a content
Thanks.
@Umar3x You can do that:
public partial class YourPopupPage : PopupPage
{
public YourPopupPage()
{
InitializeComponent();
// You can set animation anywhere
Animation = new MoveAnimation()
{
DurationIn = 100,
DurationOut = 200,
EasingIn = Easing.BounceIn,
EasingOut = Easing.CubicIn,
HasBackgroundAnimation = true,
PositionIn = MoveAnimationOptions.Left,
PositionOut = MoveAnimationOptions.Right
};
}
}
Most helpful comment
@Umar3x You can do that: