Triangle Class
Represents a Path that renders a triangle shape with the apex on a specified side.
public class Triangle : Shape
- Inheritance:
- object Visual UIElement FrameworkElement Shape object
Constructors
Triangle()
Initializes an instance of the class.
public Triangle()
Properties
ApexSide
The side upon which the triangle apex appears.
DefiningGeometry
protected override Geometry? DefiningGeometry { get; }
Property Value
IsClosed
Indicates whether the side opposite the apex is closed.
public bool IsClosed { get; set; }
Property Value
- bool:
trueif the side opposite the apex is closed; otherwise,false. The default value istrue.
Fields
ApexSideProperty
Defines the ApexSide property.
public static readonly DependencyProperty ApexSideProperty
DataProperty
Defines the ActiproSoftware.Windows.Shapes.Triangle.Data property.
public static readonly DependencyProperty DataProperty
IsClosedProperty
Defines the IsClosed property.
public static readonly DependencyProperty IsClosedProperty