RepeatBehavior.Equals Method (RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior structures are equal.

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

public static bool Equals(
	RepeatBehavior repeatBehavior1,
	RepeatBehavior repeatBehavior2


Type: System.Windows.Media.Animation.RepeatBehavior

The first value to compare.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft