Gets or sets the uniform resource identifier (URI) to load resources from.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Typically, is specified as a Pack URI, which references the location of a resource dictionary that is included as a noncompiled Resource or Content build action by your application building project. For details on the Pack URI format, see Pack URIs in WPF.
Generally, the property is set only for a ResourceDictionary that is specified for the MergedDictionaries property (either as a property element in XAML, or as a ResourceDictionary item of the collection in code). In this context, setting the value for will merge the dictionary contents found at the supplied URI into the current ResourceDictionary. Any load failures will cause an exception to be thrown.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2