Size Property
Collapse the table of content
Expand the table of content

ArcSegment.Size Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the x- and y-radius of the arc as a Size structure.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public Size Size { get; set; }
<ArcSegment Size="width,height"/>

XAML Values

width,height

A double value for a width, a delimiter, and a double value for a height. The delimiter can be either a space or comma. An attribute value for a Size value uses a type converter to process the string.

Property Value

Type: System.Windows.Size
A Size structure that describes the x- and y-radius of the elliptical arc. The Size structure's Width property specifies the arc's x-radius; its Height property specifies the arc's y-radius. The default is a Size with value 0,0.

Dependency property identifier field: SizeProperty

Note that the size describes the radius, not the diameter, and therefore the Size value does not also describe the dimensions of a bounding box around the ArcSegment.

The following illustration shows several elliptical arcs that are identical except for their Size settings.

Several ArcSegment objects with different Size settings

ArcSegments with different Size settings

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft