EventTrigger 构造函数

定义

初始化 EventTrigger 类的新实例。

重载

EventTrigger()

初始化 EventTrigger 类的新实例。

EventTrigger(RoutedEvent)

使用指定的事件初始化 EventTrigger 类的新实例。

EventTrigger()

初始化 EventTrigger 类的新实例。

public:
 EventTrigger();
public EventTrigger ();
Public Sub New ()

适用于

EventTrigger(RoutedEvent)

使用指定的事件初始化 EventTrigger 类的新实例。

public:
 EventTrigger(System::Windows::RoutedEvent ^ routedEvent);
public EventTrigger (System.Windows.RoutedEvent routedEvent);
new System.Windows.EventTrigger : System.Windows.RoutedEvent -> System.Windows.EventTrigger
Public Sub New (routedEvent As RoutedEvent)

参数

routedEvent
RoutedEvent

激活此触发器的 RoutedEvent

适用于