TextDecorationCollection Class

Summary

A collection that holds TextDecoration objects.
Namespace
Avalonia.Media
Interfaces
Base Types
graph BT Type-->Base0["AvaloniaList<TextDecoration>"] Base0-->Base1["object"] Type-.->Interface0["IAvaloniaList<TextDecoration>"] Type-.->Interface1["IList<TextDecoration>"] Type-.->Interface2["ICollection<TextDecoration>"] Type-.->Interface3["IAvaloniaReadOnlyList<TextDecoration>"] Type-.->Interface4["IReadOnlyList<TextDecoration>"] Type-.->Interface5["IReadOnlyCollection<TextDecoration>"] Type-.->Interface6["IEnumerable<TextDecoration>"] 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["TextDecorationCollection"] class Type type-node

Syntax

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

Methods

Name Value Summary
Parse(string) TextDecorationCollection
Parses a TextDecorationCollection string.
static

Extension Methods

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