简体   繁体   中英

How do I navigate from one user control to another

I have A.XAML and B.XAML .

I want to navigate from A to B when I click on a button in page A.

<Button  Grid.Row="2" Content="View Sequence"  command={binding myCommand} />

So , Inside myCommand , I want to right the logic to navigate to B.XAML and want to set the data context either by using commandparameter or any better alternates available.

Is there a simple solution for this?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM