ResourceDictionary.Source property

Applies to Windows and Windows Phone

Gets or sets a Uniform Resource Identifier (URI) that provides the source location of a merged resource dictionary.

Syntax


public Uri Source { get; set; }


<ResourceDictionary Source="uri"/>

Property value

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

A URI that provides the source location of a merged resource dictionary. This is typically a path that references a XAML resource within the app, or a reference to a loose XAML file.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

ResourceDictionary
ResourceDictionary and XAML resource references

 

 

Show:
© 2014 Microsoft