Freigeben über


EllipseGeometry.Center Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the center point of the EllipseGeometry.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property Center As Point
public Point Center { get; set; }
<EllipseGeometry Center="x,y"/>
-or-
<EllipseGeometry Center="x y"/>

XAML Values

  • x
    The X value of the Point that specifies the ellipse center in the local coordinate system.

  • y
    The Y value of a Point that specifies the ellipse center in the local coordinate system.

Property Value

Type: System.Windows.Point
The center point of the EllipseGeometry.

Remarks

Dependency property identifier field: CenterProperty

The XAML syntax for Center specifies a new Point as a string. The delimiter between the x and y values of the point can be either a comma or a space. Note that the comma usage has potential to clash with the usage of comma as the decimal point in some UI cultures. For more information, see the "XAML Attribute Syntax" section of Point.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

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