I want to pass the entered name to page 1. I handled the variable, which means that when you enter your name and click the button it will be put in variable valueName. But
Pages are just classes. You can pass parameters to them using the constructor, public properties, public methods, etc
For example, to pass via the constructor
private void Button_Clicked(object sender, EventArgs e)
{
string valueName = name.Text;
Detail = new NavigationPage(new Page1(valuename));
IsPresented = false;
}
in Page1, modify the constructor to accept a parameter
string _name;
public Page1 (string name)
{
InitializeComponent ();
_name = name;
}