We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfPopupLayout ShowAtTouchPoint(), the menu appears from top left corner, can I change that?

Thread ID:





151123 Jan 31,2020 11:41 AM UTC Feb 3,2020 12:17 PM UTC Xamarin.Forms 1
Tags: SfPopup
Laurence Cortana
Asked On January 31, 2020 11:41 AM UTC


I am using SfPopupLayout with the method ShowAtTouchPoint(). I would like to add a menu that opens when a button in the topbar is pressed. Something like this :

  Is there a way to change SfPopupLayout  so that  it opens from  right  corner?  Like this :

Thanks in advance!

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On February 3, 2020 12:17 PM UTC

Hi Cortana, 
Thank you for using Syncfusion products. 
We have checked the reported query “Need to show popup when toolbar item clicked” from our side. We would like to let you know that you can achieve your requirement using absolute positioning in SfPopupLayout through SfPopupLayout.Show(x-position, y-position) method. 
You can pass the negative y value to position the popup over the toolbar as like below code snippets. 
private void ToolbarItem_Clicked(object sender, EventArgs e) 
  popupLayout.Show(this.Width, -12); 
For your reference, we have attached the working sample and you can download it from the below link. 
Please let us know if you require further assistance. 
G.Muthu kumaran. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon