|
@@ -33,7 +33,7 @@
|
|
|
</Rectangle>
|
|
|
<Grid Margin="0,10" Height="Auto">
|
|
|
<StackPanel>
|
|
|
- <Grid Height="30" Visibility="{Binding UpperArmVisibility}">
|
|
|
+ <Grid Height="30" Visibility="{Binding DataContext.UpperArmVisibility, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="42"/>
|
|
|
<ColumnDefinition />
|
|
@@ -58,7 +58,7 @@
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
|
|
|
- <Grid Height="30" Visibility="{Binding LowerArmVisibility}">
|
|
|
+ <Grid Height="30" Visibility="{Binding Datacontext.LowerArmVisibility, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="42"/>
|
|
|
<ColumnDefinition />
|