<Window x:Class="LineWithPolygon.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid> <Polygon Points="100,100 20,100 200,100" Stroke="Red" StrokeThickness="3"/> </Grid> </Window> |
22) Example To Draw a Triangle Using Polygon
on