Class BrushInfoColorArrayList
A list of colors returned by the GradientColors property in the BrushInfo type.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class BrushInfoColorArrayList : ArrayListExt, ISerializable
Remarks
When returned by the GradientColors property, this list will be made Read-only.
Constructors
BrushInfoColorArrayList()
Overloaded. Creates a new instance of this class.
Declaration
public BrushInfoColorArrayList()
BrushInfoColorArrayList(Color[])
Creates a new instance of this class with some colors.
Declaration
public BrushInfoColorArrayList(Color[] colors)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Color[] | colors | An array of colors. |
BrushInfoColorArrayList(SerializationInfo, StreamingContext)
Initializes a new BrushInfoColorArrayList from a serialization stream.
Declaration
protected BrushInfoColorArrayList(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or deserialize this instance. |
| System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Properties
Item[Int32]
Returns the color at the specified index.
Declaration
public Color this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type |
|---|
| System.Drawing.Color |
Implements
System.Runtime.Serialization.ISerializable