InlineCollection Class

A collection of Inlines.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[WhitespaceSignificantCollectionAttribute]
public class InlineCollection : AvaloniaList<Inline>
Inheritance
Object    AvaloniaListInline    InlineCollection

Constructors

InlineCollection Initializes a new instance of the InlineCollection class.

Properties

Capacity
(Inherited from AvaloniaListInline)
Count
(Inherited from AvaloniaListInline)
Item
(Inherited from AvaloniaListInline)
ResetBehavior
(Inherited from AvaloniaListInline)
Text Gets or adds the text held by the inlines collection.

Remarks

Can be null for complex content.
Validate
(Inherited from AvaloniaListInline)

Methods

Add(Control) Adds a control wrapped inside a InlineUIContainer to the collection.
Add(Inline)
(Overrides AvaloniaList.Add(UTP))
Add(String) Adds a text segment to the collection.

Remarks

For non-complex content this appends the text to the end of currently held text. For complex content this adds a Run to the collection.
AddRange(IEnumerableUTP)
(Inherited from AvaloniaListInline)
Clear
(Inherited from AvaloniaListInline)
Contains(UTP)
(Inherited from AvaloniaListInline)
CopyTo(UTP, Int32)
(Inherited from AvaloniaListInline)
EnsureCapacity(Int32)
(Inherited from AvaloniaListInline)
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 AvaloniaListInline)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRange(Int32, Int32)
(Inherited from AvaloniaListInline)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(UTP)
(Inherited from AvaloniaListInline)
Insert(Int32, UTP)
(Inherited from AvaloniaListInline)
InsertRange(Int32, IEnumerableUTP)
(Inherited from AvaloniaListInline)
Invalidate Raises the Invalidated event.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Move(Int32, Int32)
(Inherited from AvaloniaListInline)
MoveRange(Int32, Int32, Int32)
(Inherited from AvaloniaListInline)
Remove(UTP)
(Inherited from AvaloniaListInline)
RemoveAll(IEnumerableUTP)
(Inherited from AvaloniaListInline)
RemoveAt(Int32)
(Inherited from AvaloniaListInline)
RemoveRange(Int32, Int32)
(Inherited from AvaloniaListInline)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CollectionChanged
(Inherited from AvaloniaListInline)
Invalidated Raised when an inline in the collection changes.
PropertyChanged
(Inherited from AvaloniaListInline)

See Also