C# Class Windows.UI.Interactivity.InteractivityBase

Inheritance: Windows.UI.Xaml.FrameworkElement, IAttachedObject
Show file Open project: jlaanstra/Windows.UI.Interactivity Class Usage Examples

Private Properties

Property Type Description
DataContextChanged void

Public Methods

Method Description
Attach ( FrameworkElement frameworkElement ) : void
Detach ( ) : void
InteractivityBase ( ) : System

Initializes a new instance of the InteractivityBase class.

Protected Methods

Method Description
OnAssociatedObjectChanged ( ) : void
OnAttached ( ) : void

Called after the behavior is attached to an AssociatedObject.

Override this to hook up functionality to the AssociatedObject.

OnDataContextChanged ( object oldValue, object newValue ) : void
OnDetaching ( ) : void

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

Override this to unhook functionality from the AssociatedObject.

Private Methods

Method Description
DataContextChanged ( object sender, EventArgs e ) : void

Method Details

Attach() public method

public Attach ( FrameworkElement frameworkElement ) : void
frameworkElement Windows.UI.Xaml.FrameworkElement
return void

Detach() public method

public Detach ( ) : void
return void

InteractivityBase() public method

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

OnAssociatedObjectChanged() protected method

protected OnAssociatedObjectChanged ( ) : void
return void

OnAttached() protected method

Called after the behavior is attached to an AssociatedObject.
Override this to hook up functionality to the AssociatedObject.
protected OnAttached ( ) : void
return void

OnDataContextChanged() protected method

protected OnDataContextChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
return void

OnDetaching() protected method

Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
Override this to unhook functionality from the AssociatedObject.
protected OnDetaching ( ) : void
return void