Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

ArcSegment.Size Property

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)
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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.