ZigZag Class
Represents a Path that renders a zig-zag shape with the apex on a specified side.
public class ZigZag : Shape- Inheritance:
- object Visual UIElement FrameworkElement Shape object
Constructors
ZigZag()
Initializes an instance of the ZigZag class.
public ZigZag()Properties
ApexCount
Gets or sets the number of apexes in the zig-zag.
public int ApexCount { get; set; }Property Value
- int:
- The number of apexes in the zig-zag. The default value is - 20.
ApexSide
Gets or sets the side upon which the zig-zag apex appears.
public Side ApexSide { get; set; }Property Value
- Side:
- The side upon which the zig-zag apex appears. The default value is - Side.Top.
DefiningGeometry
protected override Geometry DefiningGeometry { get; }Property Value
IsInverted
Gets or sets whether the 'inside' of the shape occurs on the same side as the apex.
public bool IsInverted { get; set; }Property Value
- bool:
- trueif the 'inside' of the shape occurs on the same side as the apex; otherwise,- false. The default value is- false.
Fields
ApexCountProperty
Identifies the ApexCount dependency property. This field is read-only.
public static readonly DependencyProperty ApexCountPropertyApexSideProperty
Identifies the ApexSide dependency property. This field is read-only.
public static readonly DependencyProperty ApexSidePropertyDataProperty
Identifies the ActiproSoftware.Windows.Shapes.ZigZag.Data dependency property. This field is read-only.
public static readonly DependencyProperty DataPropertyIsInvertedProperty
Identifies the IsInverted dependency property. This field is read-only.
public static readonly DependencyProperty IsInvertedProperty