ThemeInfoAttribute Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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