OrderTicket - fix algo popup is_expanded/can_expand bindings

This commit is contained in:
John Colvin committed 2019-02-14 15:14:40 -06:00
1 parent 02509642ca
commit a67d93054e
1 file changed
+2 -2
@@ -176,10 +176,10 @@
Margin="0,2"
DataContext="{Binding properties_vm}"
usp:OrderModificationControl.IsDirty="{Binding DataContext.order_type_dirty, RelativeSource={RelativeSource AncestorType=usp:OrderModificationControl}, FallbackValue={u:False}}"
HasEditableProperties="{Binding selected_algo_definition.algo_root.can_expand, FallbackValue={u:False}}"
HasEditableProperties="{Binding can_expand, FallbackValue={u:False}}"
IsAlgoTemplateToolBarReadOnly="True"
IsEnabled="{Binding DataContext.can_change_order_type, RelativeSource={RelativeSource AncestorType=usp:OrderModificationControl}, FallbackValue={u:True}}"
IsOpen="{Binding selected_algo_definition.algo_root.is_expanded, FallbackValue={u:False}}"
IsOpen="{Binding is_expanded, FallbackValue={u:False}}"
ItemsSource="{Binding algo_definitions_view}"
SelectedItem="{Binding selected_algo_definition}"
>