C# Class Microsoft.Xaml.Interactions.Core.EventTriggerBehavior

Inheritance: Windows.UI.Xaml.DependencyObject, IBehavior
Afficher le fichier Open project: Microsoft/XamlBehaviors Class Usage Examples

Méthodes publiques

Méthode Description
EventTriggerBehavior ( ) : System

Initializes a new instance of the EventTriggerBehavior class.

Méthodes protégées

Méthode Description
OnAttached ( ) : void

Called after the behavior is attached to the Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

OnDetaching ( ) : void

Called when the behavior is being detached from its Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

Private Methods

Méthode Description
ComputeResolvedSource ( ) : object
IsElementLoaded ( FrameworkElement element ) : bool
IsWindowsRuntimeEvent ( EventInfo eventInfo ) : bool
IsWindowsRuntimeType ( Type type ) : bool
OnEvent ( object sender, object eventArgs ) : void
OnEventNameChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args ) : void
OnSourceObjectChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args ) : void
RegisterEvent ( string eventName ) : void
SetResolvedSource ( object newSource ) : void
UnregisterEvent ( string eventName ) : void

Method Details

EventTriggerBehavior() public méthode

Initializes a new instance of the EventTriggerBehavior class.
public EventTriggerBehavior ( ) : System
Résultat System

OnAttached() protected méthode

Called after the behavior is attached to the Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.
protected OnAttached ( ) : void
Résultat void

OnDetaching() protected méthode

Called when the behavior is being detached from its Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.
protected OnDetaching ( ) : void
Résultat void