Mega Code Archive

 
Categories / C# / WPF
 

Draws a circle with a blue interior

<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="50"       Height="50"       Fill="Blue"       Canvas.Left="135"       Canvas.Top="25"/>   </Canvas> </Page>