New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for manipulating a collection of inline elements.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class RadInlineCollection : IEnumerable<Inline>, IEnumerable

Inheritance: objectRadInlineCollection

Implements: IEnumerableIEnumerable<Inline>

Constructors

Initializes a new instance of the RadInlineCollection class.

C#
public RadInlineCollection(RadTextBlock radTextBlock)
Parameters:radTextBlockRadTextBlock

The RadTextBlock of this collection.

Properties

Gets the count of the inlines.

C#
public int Count { get; }
Property Value:

The count.

this[int]

Inline

Gets the Inline at the specified index.

C#
public Inline this[int index] { get; }
Parameters:indexint

The index of the desired inline.

Property Value:

A Inline instance.

Methods

Adds the specified inline.

C#
public void Add(Inline inline)
Parameters:inlineInline

The inline.

Clears this instance's collection of inlines.

C#
public void Clear()

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<Inline> GetEnumerator()
Returns:

IEnumerator<Inline>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<Inline>.GetEnumerator()

Inserts an inline.

C#
public void InsertAfter(Inline existingInline, Inline newInline)
Parameters:existingInlineInline

The existing inline.

newInlineInline

The new inline.