Class XlsStylesCollection
- Namespace
- Spire.Xls.Core.Spreadsheet.Collections
- Assembly
- Spire.XLS.dll
public class XlsStylesCollection : CollectionExtended<IStyle>, IList<IStyle>, ICollection<IStyle>, IEnumerable<IStyle>, IExcelApplication, ICloneParent, IStyles, IEnumerable
- Inheritance
-
XlsStylesCollection
- Implements
- Derived
- Inherited Members
Properties
this[string]
public IStyle this[string name] { get; }
Parameters
name
string
Property Value
Methods
Add(IStyle)
protected void Add(IStyle style)
Parameters
style
IStyle
Add(string)
protected IStyle Add(string name)
Parameters
name
string
Returns
Clone(object)
public override object Clone(object parent)
Parameters
parent
object
Returns
CompareBorder(IBorder, IBorder)
protected static bool CompareBorder(IBorder source, IBorder destination)
Parameters
Returns
CompareBorders(IBorders, IBorders)
protected static bool CompareBorders(IBorders source, IBorders destination)
Parameters
Returns
CompareStyles(IStyle, IStyle)
protected static bool CompareStyles(IStyle source, IStyle destination)
Parameters
Returns
Contains(string)
Check collection contains style with specified name.
public bool Contains(string name)
Parameters
name
stringStyle name
Returns
ContainsSameStyle(IStyle)
protected IStyle ContainsSameStyle(IStyle style)
Parameters
style
IStyle
Returns
CreateBuiltInStyle(string)
protected XlsStyle CreateBuiltInStyle(string styleName)
Parameters
styleName
string
Returns
Remove(string)
Removes style from the colleciton.
public void Remove(string styleName)
Parameters
styleName
stringStyle to remove.
UpdateStyleRecords()
public void UpdateStyleRecords()