Step 1: MainWindow.xaml


<Window x:Class="LineDraw.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>
        <Path Stroke="Green" StrokeThickness="5" Margin="72,7,124,9">
            <Path.Data>
                <EllipseGeometry Center="150,150" RadiusX="150" RadiusY="150"/>
           </Path.Data>
        </Path>
    </Grid>
</Window>

Output :


wpf29