How to set content of a NavigationWindow ?

Platform: WPF| Category: Navigation

NavigationWindow is a window with the ability to navigate between pages. NavigationWindow is one of the navigators in WPF, the other being the Frame. A navigator is the one which supports navigation and navigation history. The highlight of a NavigationWindow is that it can have it’s content as any of the .NET Framework 3.0 objects or HTML contents. ‘Source’ property of the NavigationWindow can be used to set the content of the NavigationWindow.

[XAML]

<NavigationWindow x:Class='SampleTest.Window1'
    xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'
    xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'
    Name='window1'
    Height='300' Width='300' Source='http://www.google.com'>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.