Class InlineCollection
A collection of Inlines.
[WhitespaceSignificantCollection]
public class InlineCollection : AvaloniaList<Inline>, IAvaloniaList<Inline>, IList<Inline>, ICollection<Inline>, IAvaloniaReadOnlyList<Inline>, IReadOnlyList<Inline>, IReadOnlyCollection<Inline>, IEnumerable<Inline>, INotifyCollectionChanged, INotifyPropertyChanged, IList, ICollection, IEnumerable
- Inheritance
-
InlineCollection
- Implements
- Inherited Members
Constructors
InlineCollection()
Initializes a new instance of the InlineCollection class.
public InlineCollection()
Properties
Text
Gets or adds the text held by the inlines collection.
public string? Text { get; }
Property Value
Methods
Add(Control)
Adds a control wrapped inside a InlineUIContainer to the collection.
public void Add(Control control)
Parameters
control
ControlThe to be added control.
Add(Inline)
Adds an item to the collection.
public override void Add(Inline inline)
Parameters
inline
Inline
Add(string)
Adds a text segment to the collection.
public void Add(string text)
Parameters
text
stringThe to be added text.
Invalidate()
Raises the Invalidated event.
protected void Invalidate()
Events
Invalidated
Raised when an inline in the collection changes.
public event EventHandler? Invalidated