Condividi tramite


Classe TypeConstraintAttribute

Specificare i vincoli di tipo per AssociatedObject di TargetedTriggerAction ed EventTriggerBase.

Spazio dei nomi: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Sintassi

'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False, Inherited:=False)> _
Public NotInheritable Class TypeConstraintAttribute
    Inherits Attribute
'Utilizzo
Dim instance As TypeConstraintAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=false)] 
public sealed class TypeConstraintAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=false, Inherited=false)] 
public ref class TypeConstraintAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=false) */ 
public final class TypeConstraintAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=false) 
public final class TypeConstraintAttribute extends Attribute

Gerarchia ereditarietà

System.Object
   System.Attribute
    System.Windows.Interactivity.TypeConstraintAttribute

Thread safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. I membri di istanza invece non sono necessariamente thread-safe.

Vedere anche

Riferimenti

Membri TypeConstraintAttribute
Spazio dei nomi System.Windows.Interactivity