Navigate in Detailpages without using the master
up vote
0
down vote
favorite
I am using a home page in a masterdetailpage (as the detail).
The home page should let the user access to the other detail pages without passing through the master page.(when clicking some buttons)
How to do it? I think Navigation.PushAsync() doesn't work.
c# xamarin xamarin.forms master-detail
add a comment |
up vote
0
down vote
favorite
I am using a home page in a masterdetailpage (as the detail).
The home page should let the user access to the other detail pages without passing through the master page.(when clicking some buttons)
How to do it? I think Navigation.PushAsync() doesn't work.
c# xamarin xamarin.forms master-detail
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using a home page in a masterdetailpage (as the detail).
The home page should let the user access to the other detail pages without passing through the master page.(when clicking some buttons)
How to do it? I think Navigation.PushAsync() doesn't work.
c# xamarin xamarin.forms master-detail
I am using a home page in a masterdetailpage (as the detail).
The home page should let the user access to the other detail pages without passing through the master page.(when clicking some buttons)
How to do it? I think Navigation.PushAsync() doesn't work.
c# xamarin xamarin.forms master-detail
c# xamarin xamarin.forms master-detail
edited Nov 11 at 19:39
asked Nov 10 at 23:08
Houssem Ayadi
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
You should be able to access the master page using the MainPage property of your App class.
An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You should be able to access the master page using the MainPage property of your App class.
An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
add a comment |
up vote
1
down vote
You should be able to access the master page using the MainPage property of your App class.
An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
add a comment |
up vote
1
down vote
up vote
1
down vote
You should be able to access the master page using the MainPage property of your App class.
An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
You should be able to access the master page using the MainPage property of your App class.
An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
answered Nov 11 at 21:28
Hicham
35116
35116
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244308%2fnavigate-in-detailpages-without-using-the-master%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown