Mega Code Archive

 
Categories / VB.Net / WPF
 

Ellipse depends on Canvas layout and position

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Stretch" VerticalAlignment="Stretch">          <Canvas>       <Ellipse Canvas.Left="10" Canvas.Top="10" Fill="Cyan" Stroke="Black"                Width="20" Height="60" />     </Canvas> </Page>