In Silverlight, how can I stretch the width of a Line to fill the width of the StackPanel in which it is a child element? Prefer a XAML solution, not a code-behind. Here is how I can do it in WPF:
<Line X1="0" X2="{Binding Path=ActualWidth, ElementName=HolePatternStackPanel}" Stroke="Gray" StrokeThickness="1" />
But that does not work in Silverlight.