Class WorkbookFormatProvidersCollection
Represents collection of Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class WorkbookFormatProvidersCollection : Object, IList<IWorkbookFormatProvider>, ICollection<IWorkbookFormatProvider>, IEnumerable<IWorkbookFormatProvider>, IEnumerable, IList, ICollection
Constructors
WorkbookFormatProvidersCollection()
Declaration
public WorkbookFormatProvidersCollection()
Properties
Count
Gets the number of elements contained in the collection.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Item[Int32]
Gets or sets the Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider at the specified index.
Declaration
public IWorkbookFormatProvider this[int index] { get; set; }
Parameters
System.Int32
index
The index. |
Property Value
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
The Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider. |
Methods
Add(IWorkbookFormatProvider)
Adds an item to the collection.
Declaration
public void Add(IWorkbookFormatProvider item)
Parameters
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
item
The object to add to the collection. |
Clear()
Removes all items from the collection.
Declaration
public void Clear()
Contains(IWorkbookFormatProvider)
Determines whether the collection contains a specific value.
Declaration
public bool Contains(IWorkbookFormatProvider item)
Parameters
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
item
The object to locate in the collection. |
Returns
System.Boolean
true if |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<IWorkbookFormatProvider> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider>
An enumerator that can be used to iterate through the collection. |
IndexOf(IWorkbookFormatProvider)
Determines the index of a specific item in the collection.
Declaration
public int IndexOf(IWorkbookFormatProvider item)
Parameters
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
item
The object to locate in the collection. |
Returns
System.Int32
The index of |
Insert(Int32, IWorkbookFormatProvider)
Inserts an item to the collection at the specified index.
Declaration
public void Insert(int index, IWorkbookFormatProvider item)
Parameters
System.Int32
index
The zero-based index at which |
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
item
The object to insert into the System.Collections.Generic.IList<>. |
Remove(IWorkbookFormatProvider)
Removes the first occurrence of a specific object from the collection.
Declaration
public bool Remove(IWorkbookFormatProvider item)
Parameters
Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider
item
The object to remove from the collection. |
Returns
System.Boolean
true if |
RemoveAt(Int32)
Removes the item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
The zero-based index of the item to remove. |