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 | |
| Attached |
Parameters
| Name | Type | Description |
|---|---|---|
| element | UIElement | UIElement to read OnDataContextChangedProperty from. |
Return Value
| Type | Description |
|---|---|
| bool | OnDataContextChanged property value. |
