Exporter (0) Imprimer
Développer tout

ThemeInfoAttribute, classe

Specifies the location in which theme dictionaries are stored for types in an assembly. This class cannot be inherited.

Espace de noms: System.Windows
Assembly : PresentationFramework (dans presentationframework.dll)
Espace de noms XML :  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[AttributeUsageAttribute(AttributeTargets.Assembly)] 
public sealed class ThemeInfoAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Assembly) */ 
public final class ThemeInfoAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Assembly) 
public final class ThemeInfoAttribute extends Attribute
Vous ne pouvez pas utiliser cette classe managée dans 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)]

System.Object
   System.Attribute
    System.Windows.ThemeInfoAttribute

Les membres statiques publics (Shared en Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2015 Microsoft