OrderDetailsPopupControl - fix CoerceExpandDirection (was returning default metadata, instead of default value)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user