Creates a blue line from point (30, 30) to point (180, 30):
<Window x:Class="ScaleInCustomSystem"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Scale In Custom System" Height="310" Width="260">
<StackPanel Height="280" Width="250">
<Line X1="30" Y1="30" X2="180" Y2="30" Stroke="Blue"
StrokeThickness="2" />
</StackPanel>
</Window>
Related examples in the same category