C# Class Windows.UI.Interactivity.TargetedTriggerAction

Represents an action that can be targeted to affect an object other than its AssociatedObject.
This is an infrastructure class. Action authors should derive from TargetedTriggerAction<T> instead of this class.
Inheritance: TriggerAction
Afficher le fichier Open project: jlaanstra/Windows.UI.Interactivity

Méthodes publiques

Свойство Type Description
TargetNameProperty Windows.UI.Xaml.DependencyProperty
TargetObjectProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
OnBehaviorHostChanged void
OnTargetChanged void
OnTargetChangedImpl void
OnTargetNameChanged void
OnTargetObjectChanged void
RegisterTargetChanged void
TargetedTriggerAction System
TargetedTriggerAction System
UnregisterTargetChanged void

Méthodes protégées

Méthode Description
OnAttached ( ) : void

Called after the action is attached to an AssociatedObject.

OnDetaching ( ) : void

Called when the action is being detached from its AssociatedObject, but before it has actually occurred.

Private Methods

Méthode Description
OnBehaviorHostChanged ( object sender, EventArgs e ) : void
OnTargetChanged ( object sender, Windows.UI.Interactivity.NameResolvedEventArgs e ) : void
OnTargetChangedImpl ( object oldTarget, object newTarget ) : void

Called when the target changes.

This function should be overriden in derived classes to hook and unhook functionality from the changing source objects.

OnTargetNameChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
OnTargetObjectChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
RegisterTargetChanged ( ) : void
TargetedTriggerAction ( ) : System
TargetedTriggerAction ( Type targetTypeConstraint ) : System
UnregisterTargetChanged ( ) : void

Method Details

OnAttached() protected méthode

Called after the action is attached to an AssociatedObject.
protected OnAttached ( ) : void
Résultat void

OnDetaching() protected méthode

Called when the action is being detached from its AssociatedObject, but before it has actually occurred.
protected OnDetaching ( ) : void
Résultat void

Property Details

TargetNameProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TargetNameProperty
Résultat Windows.UI.Xaml.DependencyProperty

TargetObjectProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TargetObjectProperty
Résultat Windows.UI.Xaml.DependencyProperty