Change the path to ActualWidth.
<Border x:Name="border1" Width="{Binding Path=ActualWidth, ElementName=border2}">
</Border>
<Border x:Name="border2">
</Border>
Change the path to ActualWidth.
<Border x:Name="border1" Width="{Binding Path=ActualWidth, ElementName=border2}">
</Border>
<Border x:Name="border2">
</Border>