In this article we will draw the circle using Ellipse control.
<Window x:Class="CirclePOC.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>
<Canvas>
<Ellipse Width="100" Height="100" StrokeThickness="10" Stroke="YellowGreen" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="100,100,0,0"/>
</Canvas>
</Grid>
</Window
|
0 comments:
Please let me know your view