<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://windowsclient.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WPF Samples</title><link>http://windowsclient.net/downloads/folders/wpfsamples/default.aspx</link><description>&lt;p&gt;These&amp;nbsp;are task-based samples that are an excellent way to learn about various features of Windows Presentation Foundation. Each sample is a short walk through, some providing online demonstrations of the final result.&lt;/p&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20423.869)</generator><item><title>Drag and Drop within a TreeView</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry15467.aspx</link><pubDate>Fri, 22 Feb 2008 20:30:04 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:15467</guid><dc:creator>mpochimcherla</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates drag-and-drop within a TreeView, a common user-interface feature in Windows Forms applications that&amp;#39;s also possible in WPF applications. &lt;/p&gt;
&lt;p&gt;This sample does not implement styling for drop targets and does not auto-expand nodes, but it will get you started.&lt;/p&gt;</description><enclosure url="http://windowsclient.net/downloads/folders/15467/download.aspx" length="11206" type="application/x-zip-compressed" /></item><item><title>URI Query String Parameters Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5139.aspx</link><pubDate>Sat, 04 Aug 2007 23:16:56 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5139</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates how to retrieve the query string parameters from a uniform resource identifier (URI) for an application such as an application that is launched from a Web server using ClickOnce.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;:&amp;nbsp;This sample must be deployed to and launched from a Web server to work.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This sample demonstrates how to retrieve the query string parameters from a uniform resource identifier (URI) for an application such as an application that is launched from a Web server using ClickOnce.&lt;/p&gt;
&lt;p&gt;To get the query string parameters, the code uses the ApplicationDeployment class to determine if the application has been launched using ClickOnce and, if so, to retrieve the query string parameters and insert them into a hash table for storage.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/URIQueryStringParametersSample.exe" length="121792" type="application/octet-stream" /></item><item><title>Structured Navigation Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5138.aspx</link><pubDate>Sat, 04 Aug 2007 23:13:21 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5138</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to use PageFunctionto support structured navigation, which is discussed fully in Structured Navigation Overview.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/StructuredNavigationSample.exe" length="119744" type="application/octet-stream" /></item><item><title>Safe File Upload from an XBAP Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5137.aspx</link><pubDate>Sat, 04 Aug 2007 23:11:34 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5137</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how a XAML browser application (XBAP) that is running in partial trust can safely upload files from a client machine.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A XBAP that is running in partial trust does not have permission to either open or save files on the client machine. However, it is possible to safely open read-only files chosen by the user: &lt;strong&gt;OpenFileDialog&lt;/strong&gt; exposes only the name of the (ie no path information) using &lt;strong&gt;SafeFileName&lt;/strong&gt;, and only returns a read-only stream from the &lt;strong&gt;OpenFile&lt;/strong&gt; method with read-only access.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/SafeFileUploadPartialTrustSample.exe" length="123328" type="application/octet-stream" /></item><item><title>Remember Multiple Sets of State Per Page Instance</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5136.aspx</link><pubDate>Sat, 04 Aug 2007 23:08:03 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5136</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to remember and navigate through multiple sets of state for a single page instance.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;State navigation allows the change of state for a piece of content to be recorded as a navigation history entry that can be subsequently navigated to. When navigated to, the state recorded by the navigation history entry is restored.&lt;/p&gt;
&lt;p&gt;This sample demonstrates state navigation by recording when the selected item of a list box is changed. Each state entry is stored by a custom CustomContentState object, and is added to navigation history by calling AddBackEntry, to add the initial entry, and GetContentState to ensure an entry is retained across navigations. Additionally, it shows how to remove a state navigation entry from back navigation history.&lt;/p&gt;
&lt;p&gt;This technique is most useful when you need to remember and navigate through multiple sets of state for a single page instance. To remember a single item of state across page instances, consider using a journalable dependency property (see Remember A Single Item of State Across Page Instances). To remember a single set of state across page instancesconsider IProvideCustomContentState (see Remember A Single Set of State Across Page Instances).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;:&amp;nbsp;When you store information in custom content state, make sure you do not store references to the instance of the page for which you are remembering state when you navigate away from the page. This prevents WPF from releasing the page instance, and defeats the purpose of the default navigation history behavior. If you must do this, you might consider using &lt;strong&gt;KeepAlive&lt;/strong&gt; instead.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/CustomContentStateNavigationSample.exe" length="126368" type="application/octet-stream" /></item><item><title>Remember A Single Set of State Across Page Instances</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5135.aspx</link><pubDate>Sat, 04 Aug 2007 23:04:43 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5135</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to remember multiple items of page state across page instances by using IProvideCustomContentState and CustomContentState.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;By default, Windows Presentation Foundation (WPF) does not store page instances in navigation history. Instead, a new instance of a page is created each time it is navigated to. Subsequently, any state information on the first instance of the page is not remembered when the page is navigated to again. It is possible for WPF to retain page instances and, implicitly, page state in navigation history, although this can be costly from a memory consumption perspective.&lt;/p&gt;
&lt;p&gt;However, WPF provides an infrastructure that allows you to both store state information with a page entry in navigation history and reapply it to the new page instance when navigated to using navigation history.&lt;/p&gt;
&lt;p&gt;This sample shows how a page can implement &lt;strong&gt;IProvideCustomContentState&lt;/strong&gt; to allow it to remember a single set of state, which may contain one or more items. When a page is navigated away from, WPF calls GetContentState to ask the page for state that it wants to be remembered. &lt;strong&gt;GetContentState&lt;/strong&gt; returns an subclass of &lt;strong&gt;CustomContentState&lt;/strong&gt;, which you create to store and replay state.&lt;/p&gt;
&lt;p&gt;This technique is most useful when you need to store several items of page state across page instances. To remember a single item of state across page instances, you should consider using a journalable dependency property.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;: When you store information in custom content state, you cannot store any references to the instance of the page for which you are remembering state. This prevents WPF from releasing the page instance, and defeats the purpose of the default navigation history behavior. If you must do this, you might consider using &lt;strong&gt;KeepAlive&lt;/strong&gt; instead.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/IPCCSSample.exe" length="126912" type="application/octet-stream" /></item><item><title>Remember A Single Item of State Across Page Instances</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5134.aspx</link><pubDate>Sat, 04 Aug 2007 22:59:31 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5134</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to remember a single item of page state across page instances by using a dependency property.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;By default, Windows Presentation Foundation (WPF) does not store page instances in navigation history. Instead, a new instance of a page is created each time it is navigated to. It is possible for WPF to retain page instances in navigation history, although this can be costly from a memory consumption perspective.&lt;/p&gt;
&lt;p&gt;However, WPF provides an infrastructure that allows you to store state information with a page entry in navigation history. In this case, you can use the stored state to reconstitute the state of the page after it is instantiated.&lt;/p&gt;
&lt;p&gt;This sample shows how to use a journaled dependency property to store and retrieve page state using navigation history. &lt;/p&gt;
&lt;p&gt;This technique is most useful when you need to store a single item of page state across page instances. To remember a single set of state across page instances, you should consider using IProvideCustomContentState (see Remember A Single Set of State Across Page Instances). To remember multiple sets of state for a single page instance, see Remember Multiple Sets of State Per Page Instance.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;:&amp;nbsp;When you store information in custom content state, you cannot store any references to the instance of the page for which you are remembering state. This prevents WPF from releasing the page instance, and defeats the purpose of the default navigation history behavior. If you must do this, you might consider using &lt;strong&gt;KeepAlive&lt;/strong&gt; instead.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/DPContentStateSample.exe" length="119232" type="application/octet-stream" /></item><item><title>NavigationService Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5132.aspx</link><pubDate>Sat, 04 Aug 2007 22:51:28 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5132</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates using NavigationService to navigate to embedded and loose XAML content.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To navigate to an embedded XAML page, type DocumentPage.xaml into the address bar and click the &lt;strong&gt;Go&lt;/strong&gt; button.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To navigate to a loose XAML page, type LooseDocumentPage.xaml into the address bar and click the &lt;strong&gt;Go&lt;/strong&gt; button.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/NavigationServiceSample.exe" length="134592" type="application/octet-stream" /></item><item><title>Navigation over a Fixed Linear Topology Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5131.aspx</link><pubDate>Sat, 04 Aug 2007 22:45:45 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5131</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to provide navigation over a fixed linear topology.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/FixedLinearTopologySample.exe" length="130496" type="application/octet-stream" /></item><item><title>Navigation over a Dynamically-Generated Topology Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5130.aspx</link><pubDate>Sat, 04 Aug 2007 22:43:53 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5130</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample illustrates how to support navigation over a dynamically-generated navigation topology.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/AdaptiveTopologySample.exe" length="142752" type="application/octet-stream" /></item><item><title>Handling NavigationWindow Events Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5129.aspx</link><pubDate>Sat, 04 Aug 2007 22:42:03 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5129</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample shows how to handle the NavigationWindow events (C#, Extensible Application Markup Language (XAML)). It also displays the text equivalents of the arguments that are passed to the event handlers.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/NavWindowEvents.exe" length="127936" type="application/octet-stream" /></item><item><title>Get Referring Page Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5128.aspx</link><pubDate>Sat, 04 Aug 2007 22:37:57 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5128</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates how a &lt;strong&gt;Page&lt;/strong&gt; can determine the referring Page, which is the source Page which navigated to this Page. The referring page is available from static &lt;strong&gt;Referrer&lt;/strong&gt; property, of type Page, which is implemented by the Application subclass. The value of Referrer is determined when navigation to any page in an application occurs, specifically by handling Navigating and Navigated.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/GetReferrerSample.exe" length="122304" type="application/octet-stream" /></item><item><title>Frame Navigation in a Window Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5127.aspx</link><pubDate>Sat, 04 Aug 2007 22:34:15 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5127</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates how to host a Frame within a Window.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/FrameWindowSample.exe" length="129984" type="application/octet-stream" /></item><item><title>Frame Navigation in a Page Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5126.aspx</link><pubDate>Sat, 04 Aug 2007 22:29:59 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5126</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates how to host a Frame within a Page.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When a &lt;strong&gt;Frame&lt;/strong&gt; is hosted in a &lt;strong&gt;Page&lt;/strong&gt;, and the &lt;strong&gt;Page&lt;/strong&gt; is browser-hosted, the default navigation history behavior the &lt;strong&gt;Frame&lt;/strong&gt; is to integrate with the browser&amp;#39;s navigation history. However, you can specify that the Frame uses its own navigation history by setting JournalOwnership property to OwnsJournal.&lt;/p&gt;
&lt;p&gt;This sample shows both styles of navigation history.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/FramePageSample.exe" length="128960" type="application/octet-stream" /></item><item><title>Fragment Navigation Sample</title><link>http://windowsclient.net/downloads/folders/wpfsamples/entry5125.aspx</link><pubDate>Sat, 04 Aug 2007 22:27:14 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:5125</guid><dc:creator>jaytayl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample demonstrates how to navigate to an embedded XAML Page fragment. It also shows how to handle the FragmentNavigation event to detect when the desired fragment is not found, and override the default behavior by navigating to an error XAML Page, &lt;strong&gt;FragmentNotFoundPage&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Building the Sample&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Running the Sample&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;To run the compiled sample with debugging in Visual Studio 2005, press F5. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;Remarks&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To navigate to an embedded XAML page fragment, type DocumentPage.xaml#Fragment5 into the address bar and click the &lt;strong&gt;Go&lt;/strong&gt; button.&lt;/p&gt;</description><enclosure url="http://download.microsoft.com/download/f/6/e/f6e32974-726e-4054-96af-9c747bf89a6e/FragmentNavigationSample.exe" length="131520" type="application/octet-stream" /></item></channel></rss>