How set popup placement taget on bottom using MAUI XAML C# #23561
Unanswered
dhaval5382
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can not set my popup placement on bottom. Please refer my attached file.

<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="PopupPosition.PopupView"
HorizontalOptions="Center"
VerticalOptions="End">
</toolkit:Popup>
private void btnShow_Clicked(object sender, EventArgs e)
{
var popupview = new PopupView();
popupview.Anchor = btnShow;
popupview.Anchor.TranslateTo(0, 0);
this.ShowPopup(popupview);
}
Beta Was this translation helpful? Give feedback.
All reactions