Specifies the location in which theme dictionaries are stored for types in an assembly.
<AttributeUsageAttribute(AttributeTargets.Assembly)> _ Public NotInheritable Class ThemeInfoAttribute _ Inherits Attribute
Dim instance As ThemeInfoAttribute
[AttributeUsageAttribute(AttributeTargets.Assembly)] public sealed class ThemeInfoAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Assembly)] public ref class ThemeInfoAttribute sealed : public Attribute
public final class ThemeInfoAttribute extends Attribute
You cannot directly create an instance of this class in XAML.
This attribute is used at the assembly level to indicate which theme dictionaries are being used and where they are located. For example, if your project uses generic.xaml and this file is compiled into the same assembly in which the controls are defined, you would use the following syntax in the resource dictionary of a xaml file.
[assembly:ThemeInfoAttribute(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003