ThemeInfoAttribute Konstruktor

Definicja

Inicjuje ThemeInfoAttribute nowe wystąpienie klasy i tworzy atrybut definiujący lokalizacje słownika motywów dla typów w zestawie.

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)

Parametry

themeDictionaryLocation
ResourceDictionaryLocation

Lokalizacja zasobów specyficznych dla motywu.

genericDictionaryLocation
ResourceDictionaryLocation

Lokalizacja ogólnych, a nie specyficznych dla motywu zasobów.

Uwagi

Gdy parametr themeDictionaryLocation to SourceAssembly, można dołączyć pliki, takie jak Luna.NormalColor.xaml. Te nazwy są definiowane przez pliki motywu systemowego, które obejmują następujące elementy.

Klasyczny — "Klasyczny" wygląd systemu Windows 9x/2000 w systemie Windows XP.

Luna.NormalColor — domyślny niebieski motyw w systemie Windows XP.

Luna.Homestead - Motyw oliwkowy w systemie Windows XP.

Luna.Metallic — motyw Silver w systemie Windows XP.

Royale.NormalColor — motyw domyślny w programie Windows XP Media Center Edition.

Aero.NormalColor — motyw domyślny w systemie Windows Vista

Dotyczy