GradientStopCollection Constructor (Int32)

 
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.

Initializes a new instance of the GradientStopCollection class that is initially capable of storing the specified number of items.

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

public GradientStopCollection(
	int capacity
)

Parameters

capacity
Type: System.Int32

The number of GradientStop objects that the collection is initially capable of storing.

.NET Framework
Available since 3.0
Return to top
Show: