Mega Code Archive

 
Categories / C# / WPF
 

Draws an oval with a blue interior and a black outline

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     x:Class="Microsoft.Samples.Graphics.RectangleExample"     WindowTitle="Example">   <Canvas>     <Ellipse       Width="100"       Height="50"       Fill="Blue"       Stroke="Black"       StrokeThickness="4"       Canvas.Left="10"       Canvas.Top="100"/>   </Canvas> </Page>