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
显示文件 Open project: jlaanstra/Windows.UI.Interactivity

Public Properties

Property Type Description
TargetNameProperty Windows.UI.Xaml.DependencyProperty
TargetObjectProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
OnBehaviorHostChanged void
OnTargetChanged void
OnTargetChangedImpl void
OnTargetNameChanged void
OnTargetObjectChanged void
RegisterTargetChanged void
TargetedTriggerAction System
TargetedTriggerAction System
UnregisterTargetChanged void

Protected Methods

Method 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

Method 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 method

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

OnDetaching() protected method

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

Property Details

TargetNameProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TargetNameProperty
return Windows.UI.Xaml.DependencyProperty

TargetObjectProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TargetObjectProperty
return Windows.UI.Xaml.DependencyProperty