NavigationService.Navigate(new Uri("/ExternalAssembly;component/Page.xaml", UriKind.Relative));
XAML:
<HyperlinkButton Content="navigate via xaml" Height="30" HorizontalAlignment="Left" Margin="10,100,0,0" Name="hyperlinkButton1" VerticalAlignment="Top" Width="400" NavigateUri="/ExternalAssembly;component/Page.xaml" />
PageInExternalAssembly = Namespace der DLL
Page.xaml = Name der Page in der externen DLL
Keine Kommentare:
Kommentar veröffentlichen