Wave Class
Represents a Path that renders a wave shape with the apex on a specified side.
public class Wave : Shape
- Inheritance:
- object Visual UIElement FrameworkElement Shape object
Constructors
Wave()
Initializes an instance of the Wave
class.
public Wave()
Properties
ApexCount
Gets or sets the number of apexes in the wave.
public int ApexCount { get; set; }
Property Value
- int:
The number of apexes in the wave. The default value is
20
.
ApexSide
Gets or sets the side upon which the wave apex appears.
public Side ApexSide { get; set; }
Property Value
- Side:
The side upon which the wave 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:
true
if the 'inside' of the shape occurs on the same side as the apex; otherwise,false
. The default value isfalse
.
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.Wave.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