Ellipse Ellipse Ellipse Ellipse Class
public : sealed class Ellipse : Shape, IEllipse
public sealed class Ellipse : Shape, IEllipse
Public NotInheritable Class Ellipse Inherits Shape Implements IEllipse
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
This example shows how to create an Ellipse in XAML and set some of its common properties as attribute values.
<StackPanel> <Ellipse Fill="Yellow" Height="100" Width="200" StrokeThickness="2" Stroke="Black"/> </StackPanel>
You can set the Fill property to give the shape a background fill, like a solid color, gradient, or image. You can set the Stroke and other related stroke properties to specify the look of the shape's outline.