Do you mean you navigate the Pages in one Frame control, and want to know which page is the current page?
if (frame.Content is Page)
{
// judge it via (frame.Content as Page).Name
}
---------------------------------------
or you just navigate the Page in the current rootFrame in App. You could use the
Window.Current property.
Sincerely,
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
