C# Class Windows.UI.Interactivity.FrameworkElementExtensions

Afficher le fichier Open project: jlaanstra/Windows.UI.Interactivity

Méthodes publiques

Méthode Description
AddDataContextChangedHandler ( this element, EventHandler handler ) : void

Adds the data context changed handler.

RemoveDataContextChangedHandler ( this element, EventHandler handler ) : void

Removes the data context changed handler.

Private Methods

Méthode Description
OnInheritedDataContextChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the InheritedDataContext DependencyProperty.

Method Details

AddDataContextChangedHandler() public static méthode

Adds the data context changed handler.
public static AddDataContextChangedHandler ( this element, EventHandler handler ) : void
element this Element to which the handler is added
handler EventHandler The handler to add
Résultat void

RemoveDataContextChangedHandler() public static méthode

Removes the data context changed handler.
public static RemoveDataContextChangedHandler ( this element, EventHandler handler ) : void
element this The element from which the handler has to be removed
handler EventHandler The handler to remove
Résultat void