Assembly: PresentationFramework (in PresentationFramework.dll)
[ContentWrapperAttribute(typeof(Run))] [ContentWrapperAttribute(typeof(InlineUIContainer))] [WhitespaceSignificantCollectionAttribute] public class InlineCollection : TextElementCollection<Inline>, IList, ICollection, IEnumerable
These examples demonstrate some of the more common operations that can be performed on inline flow content elements (and containers of such elements, such as TextBlock) through the Inlines property. This property is used to add and remove items from . Flow content elements that feature an Inlines property include:
These examples happen to use Span as the flow content element, but these techniques are applicable to all elements or controls that host an collection.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.