GradientStops Class

A collection of GradientStops.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public class GradientStops : AvaloniaList<GradientStop>
Inheritance
Object    AvaloniaListGradientStop    GradientStops

Properties

Capacity Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from AvaloniaListT)
Count Gets the number of items in the collection.
(Inherited from AvaloniaListT)
ItemInt32 Gets or sets the item at the specified index.
(Inherited from AvaloniaListT)
ResetBehavior Gets or sets the reset behavior of the list.
(Inherited from AvaloniaListT)
Validate Gets or sets a validation routine that can be used to validate items before they are added.
(Inherited from AvaloniaListT)

Methods

Add(T) Adds an item to the collection.
(Inherited from AvaloniaListT)
AddRange(IEnumerableT) Adds multiple items to the collection.
(Inherited from AvaloniaListT)
Clear Removes all items from the collection.
(Inherited from AvaloniaListT)
Contains(T) Tests if the collection contains the specified item.
(Inherited from AvaloniaListT)
CopyTo(T, Int32) Copies the collection's contents to an array.
(Inherited from AvaloniaListT)
EnsureCapacity(Int32) Ensures that the capacity of the list is at least Capacity.
(Inherited from AvaloniaListT)
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator
(Inherited from AvaloniaListT)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRange(Int32, Int32) Gets a range of items from the collection.
(Inherited from AvaloniaListT)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(T) Gets the index of the specified item in the collection.
(Inherited from AvaloniaListT)
Insert(Int32, T) Inserts an item at the specified index.
(Inherited from AvaloniaListT)
InsertRange(Int32, IEnumerableT) Inserts multiple items at the specified index.
(Inherited from AvaloniaListT)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Move(Int32, Int32) Moves an item to a new index.
(Inherited from AvaloniaListT)
MoveRange(Int32, Int32, Int32) Moves multiple items to a new index.
(Inherited from AvaloniaListT)
Remove(T) Removes an item from the collection.
(Inherited from AvaloniaListT)
RemoveAll(IEnumerableT) Removes multiple items from the collection.
(Inherited from AvaloniaListT)
RemoveAt(Int32) Removes the item at the specified index.
(Inherited from AvaloniaListT)
RemoveRange(Int32, Int32) Removes a range of elements from the collection.
(Inherited from AvaloniaListT)
ToImmutable 
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CollectionChanged Raised when a change is made to the collection's items.
(Inherited from AvaloniaListT)
PropertyChanged Raised when a property on the collection changes.
(Inherited from AvaloniaListT)

See Also