ThemeInfoAttribute Constructor

Definitie

Initialiseert een nieuw exemplaar van de ThemeInfoAttribute klasse en maakt een kenmerk dat locaties van themawoordenlijst definieert voor typen in een assembly.

public:
 ThemeInfoAttribute(System::Windows::ResourceDictionaryLocation themeDictionaryLocation, System::Windows::ResourceDictionaryLocation genericDictionaryLocation);
public ThemeInfoAttribute(System.Windows.ResourceDictionaryLocation themeDictionaryLocation, System.Windows.ResourceDictionaryLocation genericDictionaryLocation);
new System.Windows.ThemeInfoAttribute : System.Windows.ResourceDictionaryLocation * System.Windows.ResourceDictionaryLocation -> System.Windows.ThemeInfoAttribute
Public Sub New (themeDictionaryLocation As ResourceDictionaryLocation, genericDictionaryLocation As ResourceDictionaryLocation)

Parameters

themeDictionaryLocation
ResourceDictionaryLocation

De locatie van themaspecifieke resources.

genericDictionaryLocation
ResourceDictionaryLocation

De locatie van algemene, niet themaspecifieke resources.

Opmerkingen

Wanneer dat themeDictionaryLocation het is SourceAssembly, kunt u bestanden zoals Luna.NormalColor.xaml opnemen. Deze namen worden gedefinieerd door de systeemthemabestanden, waaronder de volgende.

Classic - "Classic" Windows 9x/2000 look on Windows XP.

Luna.NormalColor - Standaardblauw thema op Windows XP.

Luna.Homestead - Olive thema op Windows XP.

Luna.Metallic - Zilver thema op Windows XP.

Royale.NormalColor - Standaardthema op Windows XP Media Center Edition.

Aero.NormalColor - Standaardthema op Windows Vista

Van toepassing op