OrderDetailsPopupControl - fix CoerceExpandDirection (was returning default metadata, instead of default value)

This commit is contained in:
John Colvin committed 2018-11-09 14:59:14 -06:00
1 parent 9f58327d0a
commit b5beac8a51
1 file changed
+1 -1
@@ -35,7 +35,7 @@ namespace mbts.ui.spark.algo {
var ed = (ExpandDirection)baseValue;
if (ed == ExpandDirection.Left || ed == ExpandDirection.Right) return ed;
}
return ExpandDirectionProperty.DefaultMetadata;
return ExpandDirectionProperty.DefaultMetadata.DefaultValue;
}
private static void OnExpandDirectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) {