Edit

Share via


InlineCollectionWrapper Class

Definition

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

public class InlineCollectionWrapper : System.Collections.Generic.ICollection<Windows.UI.Xaml.Documents.Inline>, System.Collections.Generic.IEnumerable<Windows.UI.Xaml.Documents.Inline>, System.Collections.Generic.IList<Windows.UI.Xaml.Documents.Inline>
type InlineCollectionWrapper = class
    interface IList<Inline>
    interface ICollection<Inline>
    interface seq<Inline>
    interface IEnumerable
Public Class InlineCollectionWrapper
Implements ICollection(Of Inline), IEnumerable(Of Inline), IList(Of Inline)
Inheritance
InlineCollectionWrapper
Implements
ICollection<T> ICollection<Windows.UI.Xaml.Documents.Inline> IEnumerable<T> IEnumerable<Windows.UI.Xaml.Documents.Inline> IList<Windows.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