This documentation is archived and is not being maintained.

BrowserInteropHelper.Source Property

Gets the uniform resource identifier (URI) for the location from which a XAML browser application (XBAP) application was launched.

Namespace:  System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static Uri Source { get; }
You cannot set this property in XAML.

Property Value

Type: System.Uri
The Uri for the location from which a XAML browser application (XBAP) application was launched; otherwise, null.

Source only contains a Uri for XAML browser application (XBAP) applications (see How to: Determine If a Page is Browser Hosted).

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: