Table of Contents

Class EventTrigger

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

A trigger that listens for a specified event on its source and fires when that event is fired.

public class EventTrigger : EventTriggerBase<object>, IAnimatable, IAttachedObject
Inheritance
EventTrigger
Implements
Derived
Inherited Members
Extension Methods

Constructors

EventTrigger()

Initializes a new instance of the EventTrigger class.

public EventTrigger()

EventTrigger(string)

Initializes a new instance of the EventTrigger class.

public EventTrigger(string eventName)

Parameters

eventName string

Name of the event.

Fields

EventNameProperty

public static readonly DependencyProperty EventNameProperty

Field Value

DependencyProperty

Properties

EventName

Gets or sets the name of the event to listen for. This is a dependency property.

public string EventName { get; set; }

Property Value

string

The name of the event.

Methods

GetEventName()

Specifies the name of the Event this EventTriggerBase is listening for.

protected override string GetEventName()

Returns

string