Class
Arc

A partial donut Shape class.

Definition

Namespace:Telerik.Windows.Shapes

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public sealed class Arc : Shape

Inheritance: objectArc

Constructors

Arc()

Initializes a new instance of the Arc class.

Declaration

cs-api-definition
public Arc()

Fields

ArcThicknessProperty

Using a DependencyProperty as the backing store for ArcThickness. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty ArcThicknessProperty

Field Value

DependencyProperty

CapRadiusProperty

Using a DependencyProperty as the backing store for CapRadius. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty CapRadiusProperty

Field Value

DependencyProperty

DiameterProperty

Using a DependencyProperty as the backing store for Diameter. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty DiameterProperty

Field Value

DependencyProperty

EndAngleProperty

Using a DependencyProperty as the backing store for EndAngle. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty EndAngleProperty

Field Value

DependencyProperty

MaximumProgressProperty

Using a DependencyProperty as the backing store for MaximumProgress. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty MaximumProgressProperty

Field Value

DependencyProperty

MinimumProgressProperty

Using a DependencyProperty as the backing store for MinimumProgress. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty MinimumProgressProperty

Field Value

DependencyProperty

ProgressProperty

Using a DependencyProperty as the backing store for Progress. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty ProgressProperty

Field Value

DependencyProperty

StartAngleProperty

Using a DependencyProperty as the backing store for StartAngle. This enables animation, styling, binding, etc...

Declaration

cs-api-definition
public static readonly DependencyProperty StartAngleProperty

Field Value

DependencyProperty

Properties

ArcThickness

Gets or sets the thickness of the arc geometry. The value is the thickness in pixels in StretchMode="None" stretch mode. When the value increases the arc geometry expands toward the center of the arc. Do not set it to more than half the Diameter.

Declaration

cs-api-definition
public double ArcThickness { get; set; }

Property Value

double

CapRadius

Gets or sets the caps of the arc. 0 will use straight cut of a donut. Setting it to half the ArcThickness will draw geometry with circle ends of the arc. It is recommended to be in range from 0 to half the ArcThickness.

Declaration

cs-api-definition
public double CapRadius { get; set; }

Property Value

double

DefiningGeometry

Gets the geometry rendered by the shape. For the Arc class it is a partial donut.

Declaration

cs-api-definition
protected override Geometry DefiningGeometry { get; }

Property Value

Geometry

Diameter

Gets or sets the diameter of the generated arc graphic. It is recommended to use the same value for Width, Height and Diameter.

Declaration

cs-api-definition
public double Diameter { get; set; }

Property Value

double

EndAngle

Gets or sets the angle of the end point of the arc in degrees. The default is 350 which is near the right center. ~90 will be bottom ~180 left and ~270 top.

Declaration

cs-api-definition
public double EndAngle { get; set; }

Property Value

double

MaximumProgress

Gets or sets the maximum possible value of the Arc's Progress. It is designed to ease the Arc use in progress bars. Check the Progress property for more information.

Declaration

cs-api-definition
public double MaximumProgress { get; set; }

Property Value

double

MinimumProgress

Gets or sets the minimum possible value of the Arc's Progress. It is designed to ease the Arc use in progress bars. Check the Progress property for more information.

Declaration

cs-api-definition
public double MinimumProgress { get; set; }

Property Value

double

Progress

Gets or sets the percentage of the arc to be drawn. Should be in range [MaximumProgress MinimumProgress]. The arc is drawn in clockwise direction from the StartAngle towards the EndAngle. Setting this property to MaximumProgress will draw all the arc. MaximumProgress * 0.5 + MinimumProgress * 0.5 - half of it. MinimumProgress - none of it. It is designed to ease the Arc use in progress bars.

Declaration

cs-api-definition
public double Progress { get; set; }

Property Value

double

StartAngle

Gets or sets the angle of the start point of the arc in degrees. The default is 10 which is near the right center. ~90 will be bottom ~180 left and ~270 top.

Declaration

cs-api-definition
public double StartAngle { get; set; }

Property Value

double