Сделал переход на новую страничку
This commit is contained in:
parent
3675cf5729
commit
3a5fdb7dab
@ -30,6 +30,12 @@
|
||||
SemanticProperties.Hint="Counts the number of times you click"
|
||||
Clicked="OnCounterClicked"
|
||||
HorizontalOptions="Fill" />
|
||||
<Button
|
||||
x:Name="NewPageOpenbtn"
|
||||
Text="New page"
|
||||
SemanticProperties.Hint="Counts the number of times you click"
|
||||
Clicked="NewPageOpenbtn_Clicked"
|
||||
HorizontalOptions="Fill" />
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -20,6 +20,11 @@
|
||||
|
||||
SemanticScreenReader.Announce(CounterBtn.Text);
|
||||
}
|
||||
|
||||
private async void NewPageOpenbtn_Clicked(System.Object sender, System.EventArgs e)
|
||||
{
|
||||
await Navigation.PushAsync(new NewPage1());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user