Menu

Public Properties (see also Protected Properties)

NameDescription
Actions Gets the actions associated with this trigger. (Inherited from TriggerBase)
ActiveOnFocus If true, the Trigger only listens to its trigger Source object, which means that element must have focus for the trigger to fire. If false, the Trigger listens at the root, so any unhandled KeyDown/Up messages will be caught.
CanFreeze(Inherited from Freezable)
DependencyObjectType(Inherited from DependencyObject)
Dispatcher(Inherited from DispatcherObject)
FiredOn Determines whether or not to listen to the KeyDown or KeyUp event.
HasAnimatedProperties(Inherited from Animatable)
IsFrozen(Inherited from Freezable)
IsSealed(Inherited from DependencyObject)
Key The key that must be pressed for the trigger to fire.
Modifiers The modifiers that must be active for the trigger to fire (the default is no modifiers pressed).
Source Gets the resolved source. If is not set or cannot be resolved, defaults to AssociatedObject. (Inherited from EventTriggerBase)
SourceName Gets or sets the name of the element this EventTriggerBase listens for as a source. If the name is not set or cannot be resolved, the AssociatedObject will be used. This is a dependency property. (Inherited from EventTriggerBase)
SourceObject Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property. (Inherited from EventTriggerBase)

Protected Properties

NameDescription
AssociatedObject Gets the object to which the trigger is attached. (Inherited from TriggerBase)
AssociatedObjectTypeConstraint Gets the type constraint of the associated object. (Inherited from EventTriggerBase)
SourceTypeConstraint Gets the source type constraint. (Inherited from EventTriggerBase)

Explicit Interface Implementations

NameDescription
System.Windows.Interactivity.IAttachedObject.AssociatedObject Gets the object to which the trigger is attached. (Inherited from TriggerBase)

See Also