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

Represents collection of IWorkbookFormatProvider.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class WorkbookFormatProvidersCollection : IList<IWorkbookFormatProvider>, ICollection<IWorkbookFormatProvider>, IEnumerable<IWorkbookFormatProvider>, IList, ICollection, IEnumerable

Inheritance: objectWorkbookFormatProvidersCollection

Implements: ICollectionICollection<IWorkbookFormatProvider>IEnumerableIEnumerable<IWorkbookFormatProvider>IListIList<IWorkbookFormatProvider>...

Constructors

C#
public WorkbookFormatProvidersCollection()

Properties

Gets the number of elements contained in the collection.

C#
public int Count { get; }

Implements: ICollection<IWorkbookFormatProvider>.Count

this[int]

IWorkbookFormatProvider

Gets or sets the IWorkbookFormatProvider at the specified index.

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

The index.

Property Value:

The IWorkbookFormatProvider.

Implements: IList<IWorkbookFormatProvider>.this[int]

Methods

Adds an item to the collection.

C#
public void Add(IWorkbookFormatProvider item)
Parameters:itemIWorkbookFormatProvider

The object to add to the collection.

Implements: ICollection<IWorkbookFormatProvider>.Add(IWorkbookFormatProvider)

Removes all items from the collection.

C#
public void Clear()

Implements: ICollection<IWorkbookFormatProvider>.Clear()

Determines whether the collection contains a specific value.

C#
public bool Contains(IWorkbookFormatProvider item)
Parameters:itemIWorkbookFormatProvider

The object to locate in the collection.

Returns:

bool

true if item is found in the collection; otherwise, false.

Implements: ICollection<IWorkbookFormatProvider>.Contains(IWorkbookFormatProvider)

GetEnumerator()

IEnumerator<IWorkbookFormatProvider>

Returns an enumerator that iterates through the collection.

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

IEnumerator<IWorkbookFormatProvider>

An enumerator that can be used to iterate through the collection.

Implements: IEnumerable<IWorkbookFormatProvider>.GetEnumerator()

Determines the index of a specific item in the collection.

C#
public int IndexOf(IWorkbookFormatProvider item)
Parameters:itemIWorkbookFormatProvider

The object to locate in the collection.

Returns:

int

The index of item if found in the collection; otherwise, -1.

Implements: IList<IWorkbookFormatProvider>.IndexOf(IWorkbookFormatProvider)

Inserts an item to the collection at the specified index.

C#
public void Insert(int index, IWorkbookFormatProvider item)
Parameters:indexint

The zero-based index at which item should be inserted.

itemIWorkbookFormatProvider

The object to insert into the IList<T>.

Implements: IList<IWorkbookFormatProvider>.Insert(int, IWorkbookFormatProvider)

Removes the first occurrence of a specific object from the collection.

C#
public bool Remove(IWorkbookFormatProvider item)
Parameters:itemIWorkbookFormatProvider

The object to remove from the collection.

Returns:

bool

true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.

Implements: ICollection<IWorkbookFormatProvider>.Remove(IWorkbookFormatProvider)

Removes the item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Implements: IList<IWorkbookFormatProvider>.RemoveAt(int)