GradientStopCollection.Contains Method (GradientStop)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the collection contains the specified GradientStop.

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

public bool Contains(
	GradientStop value
)

Parameters

value
Type: System.Windows.Media.GradientStop

The GradientStop to locate in the GradientStopCollection.

Return Value

Type: System.Boolean

true if the GradientStop is found in the GradientStopCollection; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: