GradientStops Class

Summary

A collection of GradientStops.
Namespace
Avalonia.Media
Interfaces
Base Types
graph BT Type-->Base0["AvaloniaList<GradientStop>"] Base0-->Base1["object"] Type-.->Interface0["IAvaloniaList<GradientStop>"] Type-.->Interface1["IList<GradientStop>"] Type-.->Interface2["ICollection<GradientStop>"] Type-.->Interface3["IAvaloniaReadOnlyList<GradientStop>"] Type-.->Interface4["IReadOnlyList<GradientStop>"] Type-.->Interface5["IReadOnlyCollection<GradientStop>"] Type-.->Interface6["IEnumerable<GradientStop>"] Type-.->Interface7["INotifyCollectionChanged"] Type-.->Interface8["INotifyPropertyChanged"] Type-.->Interface9["IList"] Type-.->Interface10["ICollection"] Type-.->Interface11["IEnumerable"] Type-.->Interface12["INotifyCollectionChangedDebug"] click Interface12 "/api/Avalonia.Diagnostics/INotifyCollectionChangedDebug" Type["GradientStops"] class Type type-node

Syntax

public class GradientStops : AvaloniaList<GradientStop>, IAvaloniaList<GradientStop>, 
    IList<GradientStop>, ICollection<GradientStop>, IAvaloniaReadOnlyList<GradientStop>, 
    IReadOnlyList<GradientStop>, IReadOnlyCollection<GradientStop>, IEnumerable<GradientStop>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IList, ICollection, IEnumerable, 
    INotifyCollectionChangedDebug

Constructors

Name Summary
GradientStops()

Methods

Name Value Summary
ToImmutable() IReadOnlyList<ImmutableGradientStop>

Extension Methods

Name Value Summary
CreateDerivedList<GradientStop, TDerived>(Func<GradientStop, TDerived>) IAvaloniaReadOnlyList<TDerived>
ForEachItem<GradientStop>(Action<int, GradientStop>, Action<int, GradientStop>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
ForEachItem<GradientStop>(Action<GradientStop>, Action<GradientStop>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
TrackItemPropertyChanged<GradientStop>(Action<Tuple<object, PropertyChangedEventArgs>>) IDisposable
Listens for property changed events from all items in a collection.