programming-examples/c-sharp/Others/Create a line with point value.cs
2019-11-15 12:59:38 +01:00

14 lines
403 B
C#

Create a line with point value
<Window x:Class="WpfApplication1.ShapesWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ShapesWindow" Height="120" Width="360">
<StackPanel Orientation="Horizontal">
<Line Stroke="Red" X1="72" X2="0" Y1="0" Y2="180" />
</StackPanel>
</Window>