I know how to remove the old pages from page stack.
NavigationService.RemoveBackEntry();
This will remove the last entry from the page stack.
But I want to remove all the pages form the page stack.
If I click the clear button all the page should be cleared.
Please let me know any idea to solve this.
Thanks in advance.