ClassArc
A partial donut Shape class.
Definition
Namespace:Telerik.Windows.Shapes
Assembly:Telerik.Windows.Controls.dll
Syntax:
public sealed class Arc : Shape
Inheritance: objectArc
Constructors
Fields
ArcThicknessProperty
Using a DependencyProperty as the backing store for ArcThickness. This enables animation, styling, binding, etc...
Declaration
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
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
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
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
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
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
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
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.
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.
DefiningGeometry
Gets the geometry rendered by the shape. For the Arc class it is a partial donut.
Declaration
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.
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.
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.
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.
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.
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.