Condividi tramite


Classe TriggerBase

Rappresenta un oggetto che può richiamare azioni in maniera condizionale.

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

Sintassi

'Dichiarazione
<ContentPropertyAttribute("Actions")> _
Public MustInherit Class TriggerBase
    Inherits Animatable
    Implements IAttachedObject
'Utilizzo
Dim instance As TriggerBase
[ContentPropertyAttribute("Actions")] 
public abstract class TriggerBase : Animatable, IAttachedObject
[ContentPropertyAttribute(L"Actions")] 
public ref class TriggerBase abstract : public Animatable, IAttachedObject
/** @attribute ContentPropertyAttribute("Actions") */ 
public abstract class TriggerBase extends Animatable implements IAttachedObject
ContentPropertyAttribute("Actions") 
public abstract class TriggerBase extends Animatable implements IAttachedObject

Note

Questa è una classe infrastruttura. Gli autori di trigger devono derivare da Trigger<T> invece che da questa classe.

Gerarchia ereditarietà

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
          System.Windows.Interactivity.TriggerBase
             System.Windows.Interactivity.EventTriggerBase
             System.Windows.Interactivity.TriggerBase

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 TriggerBase
Spazio dei nomi System.Windows.Interactivity