ResourceDictionary.Source Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Uniform Resource Identifier (URI) that provides the source location of a merged resource dictionary.
public:
property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
Uri Source();
void Source(Uri value);
public System.Uri Source { get; set; }
var uri = resourceDictionary.source;
resourceDictionary.source = uri;
Public Property Source As Uri
<ResourceDictionary Source="uri"/>
Property Value
A Uniform Resource Identifier (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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for