ReloadBehavior.

GetOnDataContextChanged(UIElement) Method

Summary

Helper for getting OnDataContextChangedProperty from element. If the property is set to true, the transition of the MetroContentControl is triggered again when the DataContext is changed.
Namespace
MahApps.Metro.Behaviors
Containing Type
ReloadBehavior

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(MetroContentControl))]
public static bool GetOnDataContextChanged(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to read OnDataContextChangedProperty from.

Return Value

Type Description
bool OnDataContextChanged property value.