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

Inheritance: Windows.UI.Xaml.DependencyObject, IBehavior
Exibir arquivo Open project: Microsoft/XamlBehaviors Class Usage Examples

Public Methods

Method Description
EventTriggerBehavior ( ) : System

Initializes a new instance of the EventTriggerBehavior class.

Protected Methods

Method 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

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

Initializes a new instance of the EventTriggerBehavior class.
public EventTriggerBehavior ( ) : System
return System

OnAttached() protected method

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

OnDetaching() protected method

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