In This Article

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

Gets a value that represents the Geometry of the Shape.

protected override Geometry DefiningGeometry { get; }

Property Value

Geometry:

The Geometry of the Shape.

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:

true if 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 ApexCountProperty

ApexSideProperty

Identifies the ApexSide dependency property. This field is read-only.

public static readonly DependencyProperty ApexSideProperty

DataProperty

Identifies the ActiproSoftware.Windows.Shapes.ZigZag.Data dependency property. This field is read-only.

public static readonly DependencyProperty DataProperty

IsInvertedProperty

Identifies the IsInverted dependency property. This field is read-only.

public static readonly DependencyProperty IsInvertedProperty