Class Sector
Represents a circular or elliptical sector (a pie-shaped closed region of a circle or ellipse).
public class Sector : Shape, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
- Inheritance
-
Sector
- Implements
- Inherited Members
- Extension Methods
Constructors
Sector()
public Sector()
Fields
StartAngleProperty
Defines the StartAngle property.
public static readonly StyledProperty<double> StartAngleProperty
Field Value
SweepAngleProperty
Defines the SweepAngle property.
public static readonly StyledProperty<double> SweepAngleProperty
Field Value
Properties
StartAngle
Gets or sets the angle at which the sector's arc starts, in degrees.
public double StartAngle { get; set; }
Property Value
SweepAngle
Gets or sets the angle, in degrees, added to the StartAngle defining where the sector's arc ends. A positive value is clockwise, negative is counter-clockwise.
public double SweepAngle { get; set; }
Property Value
Methods
CreateDefiningGeometry()
Creates the shape's defining geometry.
protected override Geometry? CreateDefiningGeometry()