Skip to content

InlineCollection class

The ordered runs that make up a TextBlock’s content. Mutating the collection or any run it holds notifies the owner so it can reflow.

Guide: C# Markup guide

public sealed class InlineCollection : IList<Run>
name description
Count { get; }
IsReadOnly { get; }
Item { get; set; }
Add(…)
Clear()
Contains(…)
CopyTo(…)
GetEnumerator()
IndexOf(…)
Insert(…)
Remove(…)
RemoveAt(…)