Export (0) Print
Expand All

ThemeInfoAttribute.ThemeInfoAttribute Constructor

Initializes a new instance of the ThemeInfoAttribute class and creates an attribute that defines theme dictionary locations for types in an assembly.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)

public ThemeInfoAttribute (
	ResourceDictionaryLocation themeDictionaryLocation,
	ResourceDictionaryLocation genericDictionaryLocation
)
public ThemeInfoAttribute (
	ResourceDictionaryLocation themeDictionaryLocation, 
	ResourceDictionaryLocation genericDictionaryLocation
)
public function ThemeInfoAttribute (
	themeDictionaryLocation : ResourceDictionaryLocation, 
	genericDictionaryLocation : ResourceDictionaryLocation
)
You cannot use constructors in XAML.

Parameters

themeDictionaryLocation

The location of theme-specific resources.

genericDictionaryLocation

The location of generic, not theme-specific, resources.

When the themeDictionaryLocation is SourceAssembly, you can include files such as Luna.NormalColor.xaml. These names are defined by the system theme files, which include the following.

Classic – “Classic” Windows 9x/2000 look on Windows XP.

Luna.NormalColor - Default blue theme on Windows XP.

Luna.Homestead – Olive theme on Windows XP.

Luna.Metallic – Silver theme on Windows XP.

Royale.NormalColor – Default theme on Windows XP Media Center Edition.

Aero.NormalColor – Default theme on Windows Vista

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft