Class RadInlineCollection
Provides methods and properties for manipulating a collection of inline elements.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class RadInlineCollection : Object, IEnumerable<Inline>, IEnumerable
Constructors
RadInlineCollection(RadTextBlock)
Initializes a new instance of the RadInlineCollection class.
Declaration
public RadInlineCollection(RadTextBlock radTextBlock)
Parameters
RadTextBlock
radTextBlock
The RadTextBlock of this collection. |
Properties
Count
Gets the count of the inlines.
Declaration
public int Count { get; }
Property Value
System.Int32
The count. |
Item[Int32]
Gets the System.Windows.Documents.Inline at the specified index.
Declaration
public Inline this[int index] { get; }
Parameters
System.Int32
index
The index of the desired inline. |
Property Value
System.Windows.Documents.Inline
A System.Windows.Documents.Inline instance. |
Methods
Add(Inline)
Adds the specified inline.
Declaration
public void Add(Inline inline)
Parameters
System.Windows.Documents.Inline
inline
The inline. |
Clear()
Clears this instance's collection of inlines.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Inline> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Windows.Documents.Inline>
A System.Collections.Generic.IEnumerator<> that can be used to iterate through the collection. |
InsertAfter(Inline, Inline)
Inserts an inline.
Declaration
public void InsertAfter(Inline existingInline, Inline newInline)
Parameters
System.Windows.Documents.Inline
existingInline
The existing inline. |
System.Windows.Documents.Inline
newInline
The new inline. |