Ellipse Class Home
This page is specific to:Microsoft Version:3.03.5Silverlight 34.0
.NET Framework Class Library for Silverlight
Ellipse Class

Draws an ellipse.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
Syntax

'Usage

Dim instance As Ellipse

'Declaration

Public NotInheritable Class Ellipse _
    Inherits Shape
<Ellipse .../>
Remarks

A shape cannot support child objects.

Examples

The following example shows how to create an Ellipse in XAML and set some of its common properties as attribute values.

Run this sample

    <StackPanel>

        <Ellipse
         Fill="Yellow"
         Height="100"
         Width="200"
         StrokeThickness="2"
         Stroke="Black"/>
    </StackPanel>
Inheritance Hierarchy

System..::.Object
  System.Windows..::.DependencyObject
    System.Windows..::.UIElement
      System.Windows..::.FrameworkElement
        System.Windows.Shapes..::.Shape
          System.Windows.Shapes..::.Ellipse
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Other Resources

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View