Hello,
Welcome to Microsoft Q&A!
You can simply use MessagingCenter, it is a publish-subscribe pattern, allowing message-based communication between components that are inconvenient to link by object and type references.
Send in Button Click event
private void Button_Clicked(object sender, EventArgs e)
{
MessagingCenter.Send<object>(this, "Hi");
}
Subscribe in another tab(page)
public Page3()
{
InitializeComponent();
MessagingCenter.Subscribe<object>(this, "Hi", (o) => {
//do something
});
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.