HyperlinkButton in C# XAMARIN.FORMS

后端 未结 7 1480
南方客
南方客 2021-02-19 02:36

I want to create Label with click possibility like in WIN phone xaml


Is there a possibili

7条回答
  •  说谎
    说谎 (楼主)
    2021-02-19 03:11

    Yes, you can either use Button Clicked or TapGestureRecognizer. If you want to redirect to a site you can use WebView. If you want to direct to your own Native page: If you are using NavigationPage, you can use Navigation.PushAsync(new Page()); If your not using NavigationPage and would like to change MainPage: App.Current.MainPage = new MyContentPage();

提交回复
热议问题