BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
We have checked your query “Execute function on SfPopup button tapped” and achieved your requirement by using AcceptCommand. We would like to inform you, in Execute method of AcceptButtonCustomCommand class, you can call your desired function. For further details you can refer following code example, and sample following here.
In the following sample, We have shown the another popup when click the Accept button of first popup.
Code Example:
[C#] --- publicclassAcceptButtonCustomCommand : ICommand { publicevent EventHandler CanExecuteChanged; SfPopupLayout secondPopup;
publicbool CanExecute(object parameter) { returntrue; }
public void Execute(object parameter) { // You can write your set of codes that needs to be executed CancelAppointment("Cancel"); }
protectedasyncvoid CancelAppointment(string appointmentId) { secondPopup = new SfPopupLayout(); secondPopup.PopupView.HeaderTitle = "CancelCodesWereExecuted"; secondPopup.Show(0,0); //Code for Cancel Appointment } } --- |
Sample link: https://www.syncfusion.com/downloads/support/forum/150947/ze/AcceptButtonCommand-1688829069.zip
Please let us know, if this helpful.
Regards,
Deepika.