Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GradientStopCollection.Remove Method (GradientStop)

 

Removes the first occurrence of the specified GradientStop from this GradientStopCollection.

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

public bool Remove(
	GradientStop value
)

Parameters

value
Type: System.Windows.Media.GradientStop

The GradientStop to remove from this GradientStopCollection.

Return Value

Type: System.Boolean

true if value was removed from the GradientStopCollection; otherwise, false.

Exception Condition
NotSupportedException

The GradientStopCollection is read-only.

- or -

The GradientStopCollection has a fixed size.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft