TriggerAction クラス
機能単位をカプセル化する、アタッチ可能なオブジェクトを表します。
名前空間: System.Windows.Interactivity
アセンブリ: System.Windows.Interactivity (system.windows.interactivity.dll 中)
構文
'宣言
<DefaultTriggerAttribute(GetType(UIElement), GetType(EventTrigger), "MouseLeftButtonDown")> _
<DefaultTriggerAttribute(GetType(ButtonBase), GetType(EventTrigger), "Click")> _
Public MustInherit Class TriggerAction
Inherits Animatable
Implements IAttachedObject
'使用
Dim instance As TriggerAction
[DefaultTriggerAttribute(typeof(UIElement), typeof(EventTrigger), "MouseLeftButtonDown")]
[DefaultTriggerAttribute(typeof(ButtonBase), typeof(EventTrigger), "Click")]
public abstract class TriggerAction : Animatable, IAttachedObject
[DefaultTriggerAttribute(typeof(UIElement), typeof(EventTrigger), L"MouseLeftButtonDown")]
[DefaultTriggerAttribute(typeof(ButtonBase), typeof(EventTrigger), L"Click")]
public ref class TriggerAction abstract : public Animatable, IAttachedObject
/** @attribute DefaultTriggerAttribute(System.Windows.UIElement, System.Windows.Interactivity.EventTrigger, "MouseLeftButtonDown") */
/** @attribute DefaultTriggerAttribute(System.Windows.Controls.Primitives.ButtonBase, System.Windows.Interactivity.EventTrigger, "Click") */
public abstract class TriggerAction extends Animatable implements IAttachedObject
DefaultTriggerAttribute(System.Windows.UIElement, System.Windows.Interactivity.EventTrigger, "MouseLeftButtonDown")
DefaultTriggerAttribute(System.Windows.Controls.Primitives.ButtonBase, System.Windows.Interactivity.EventTrigger, "Click")
public abstract class TriggerAction extends Animatable implements IAttachedObject
解説
これはインフラストラクチャ クラスです。Action 作成者は、このクラスの代わりに TriggerAction<T> から派生する必要があります。
継承階層
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Interactivity.TriggerAction
System.Windows.Interactivity.TargetedTriggerAction
System.Windows.Interactivity.TriggerAction
スレッド セーフ
この型のパブリック静的メンバ (Visual Basic では Shared メンバ) は、いずれもスレッド セーフです。インスタンス メンバは、スレッド セーフであるとは限りません。