Gets or sets the collection of resources that can be used within the scope of this style.
Public Property Resources As ResourceDictionary
Dim instance As Style Dim value As ResourceDictionary value = instance.Resources instance.Resources = value
public ResourceDictionary Resources { get; set; }
public: property ResourceDictionary^ Resources { ResourceDictionary^ get (); void set (ResourceDictionary^ value); }
public function get Resources () : ResourceDictionary public function set Resources (value : ResourceDictionary)
<object> <object.Resources> oneOrMoreResourceElements </object.Resources> </object> - or - <object> <object.Resources> <ResourceDictionary Source="externalDictionarySource"/> </object.Resources> </object>
One or more resource elements. To be referenced later in either StaticResource Markup Extension or DynamicResource Markup Extension syntax in XAML, a resource element must have an x:Key attribute.
An external dictionary source. For details, see.Merged Resource Dictionaries.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003