Equality Operator
Collapse the table of content
Expand the table of content

RepeatBehavior.Equality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Indicates whether the two specified RepeatBehavior values are equal.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)

public static bool operator ==(
	RepeatBehavior repeatBehavior1,
	RepeatBehavior repeatBehavior2
)

Parameters

repeatBehavior1
Type: System.Windows.Media.Animation.RepeatBehavior
The first value to compare.
repeatBehavior2
Type: System.Windows.Media.Animation.RepeatBehavior
The second value to compare.

Return Value

Type: System.Boolean
true if both the type and repeat behavior of repeatBehavior1 are equal to that of repeatBehavior2; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft