InlineCollectionWrapper Class

Definition

A wrapper class for Microsoft.UI.Xaml.Controls.TextBlock.Inlines to hack the problem that Microsoft.UI.Xaml.Documents.InlineCollection. has no accessible constructor

C#
public class InlineCollectionWrapper : System.Collections.Generic.ICollection<Microsoft.UI.Xaml.Documents.Inline>, System.Collections.Generic.IEnumerable<Microsoft.UI.Xaml.Documents.Inline>, System.Collections.Generic.IList<Microsoft.UI.Xaml.Documents.Inline>
Inheritance
InlineCollectionWrapper
Implements
ICollection<Microsoft.UI.Xaml.Documents.Inline> ICollection<T> IEnumerable<Microsoft.UI.Xaml.Documents.Inline> IEnumerable<T> IList<Microsoft.UI.Xaml.Documents.Inline> IEnumerable

Properties

Count

Gets the number of elements contained in the ICollection<T>.

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

Item[Int32]

Gets or sets the element at the specified index.

Methods

Add(Inline)

Adds an item to the ICollection<T>.

Clear()

Removes all items from the ICollection<T>.

Contains(Inline)

Determines whether the ICollection<T> contains a specific value.

CopyTo(Inline[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

GetEnumerator()

Returns an enumerator that iterates through the collection.

IndexOf(Inline)

Determines the index of a specific item in the IList<T>.

Insert(Int32, Inline)

Inserts an item to the IList<T> at the specified index.

Remove(Inline)

Removes the first occurrence of a specific object from the ICollection<T>.

RemoveAt(Int32)

Removes the IList<T> item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to

Produit Versions
Windows Community Toolkit 7.0.0