Represents a collection of BorderStyles values used by the ExcelML export pipeline.
Definition
Namespace:Telerik.WinControls.UI.Export.ExcelML
Assembly:TelerikData.dll
Syntax:
public class BorderStylesCollection : IBorderStylesCollection, IList, ICollection, IEnumerable
Inheritance: objectBorderStylesCollection
Implements:
Constructors
Initializes a new instance of the BorderStylesCollection class.
public BorderStylesCollection()
Initializes a new instance of the BorderStylesCollection class with the specified backing list.
public BorderStylesCollection(IList list)
The backing list used to store border style values.
Properties
Gets the number of elements contained in the collection.
public virtual int Count { get; }
Gets a value indicating whether the collection has a fixed size.
public virtual bool IsFixedSize { get; }
Gets a value indicating whether the collection is read-only.
public virtual bool IsReadOnly { get; }
Gets a value indicating whether access to the collection is synchronized.
public virtual bool IsSynchronized { get; }
Gets an object that can be used to synchronize access to the collection.
public virtual object SyncRoot { get; }
Gets or sets the border style at the specified index.
public virtual BorderStyles this[int index] { get; set; }
The zero-based index of the border style.
Property Value:The border style at the specified index.
Implements:
Methods
Adds the specified border style to the collection.
public virtual int Add(BorderStyles value)
The border style to add.
Returns:The zero-based index at which the style was added.
Implements:
Removes all border styles from the collection.
public virtual void Clear()
Determines whether the specified border style exists in the collection.
public virtual bool Contains(BorderStyles value)
The border style to locate.
Returns:true if the style is found; otherwise, false.
Implements:
Copies the elements of the collection to a typed array, starting at the specified index.
public virtual void CopyTo(BorderStyles[] array, int index)
The destination array.
indexintThe zero-based index in the destination array at which copying begins.
Implements:
Returns an enumerator that iterates through the collection.
public virtual IEnumerator GetEnumerator()
An enumerator for the collection.
Returns the zero-based index of the specified border style.
public virtual int IndexOf(BorderStyles value)
The border style to locate.
Returns:The zero-based index of the style if found; otherwise, -1.
Implements:
Inserts a border style at the specified index.
public virtual void Insert(int index, BorderStyles value)
The zero-based index at which to insert the style.
valueBorderStylesThe border style to insert.
Implements:
Removes the specified border style from the collection.
public virtual void Remove(BorderStyles value)
The border style to remove.
Implements:
Removes the border style at the specified index.
public virtual void RemoveAt(int index)
The zero-based index of the style to remove.