[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyleCollection.Count

Count Property

Count

Gets the number of IStyle objects in the collection.

This count includes the named styles available in the workbook, such as built-in styles and any custom styles added to the collection.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
IStyleCollection styles = workbook.Styles;
styles.Add("DataStyle");
int count = styles.Count;