Hi all,
I'm looking for a way to draw a horizontal rule across my Silverlight App. I'd like to be able to insert it in the XAML rather than the C#. Can't seem to find much via Google or MSDN.
Thanks!
Hi all,
I'm looking for a way to draw a horizontal rule across my Silverlight App. I'd like to be able to insert it in the XAML rather than the C#. Can't seem to find much via Google or MSDN.
Thanks!
use the <Line>
tag. More info here, on MSDN. Also, here is another article you can look at.
Just use something like this:
HRULE:
<Border Margin="48,67,30,0" Name="border1" Height="2" VerticalAlignment="Top" BorderBrush="Black" BorderThickness="2" />
VRULE:
<Border BorderBrush="Black" BorderThickness="2" Margin="92,124,0,62" Name="border2" HorizontalAlignment="Left" Width="2" />