Class TableStyleCollection
Namespace: Aspose.Cells.Tables
Assembly: Aspose.Cells.dll (25.2.0)
Represents all custom table styles.
public class TableStyleCollection : CollectionBase<tablestyle>, IList<tablestyle>, ICollection<tablestyle>, IEnumerable<tablestyle>, ICollection, IEnumerable
Inheritance
object ← CollectionBase<tablestyle> ← TableStyleCollection
Implements
IList<tablestyle>, ICollection<tablestyle>, IEnumerable<tablestyle>, ICollection, IEnumerable
Inherited Members
CollectionBase<tablestyle>.BinarySearch(TableStyle), CollectionBase<tablestyle>.BinarySearch(TableStyle, IComparer<tablestyle>), CollectionBase<tablestyle>.BinarySearch(int, int, TableStyle, IComparer<tablestyle>), CollectionBase<tablestyle>.Contains(TableStyle), CollectionBase<tablestyle>.CopyTo(TableStyle[]), CollectionBase<tablestyle>.CopyTo(TableStyle[], int), CollectionBase<tablestyle>.CopyTo(int, TableStyle[], int, int), CollectionBase<tablestyle>.Exists(Predicate<tablestyle>), CollectionBase<tablestyle>.Find(Predicate<tablestyle>), CollectionBase<tablestyle>.FindAll(Predicate<tablestyle>), CollectionBase<tablestyle>.FindIndex(Predicate<tablestyle>), CollectionBase<tablestyle>.FindIndex(int, Predicate<tablestyle>), CollectionBase<tablestyle>.FindIndex(int, int, Predicate<tablestyle>), CollectionBase<tablestyle>.FindLast(Predicate<tablestyle>), CollectionBase<tablestyle>.FindLastIndex(Predicate<tablestyle>), CollectionBase<tablestyle>.FindLastIndex(int, Predicate<tablestyle>), CollectionBase<tablestyle>.FindLastIndex(int, int, Predicate<tablestyle>), CollectionBase<tablestyle>.IndexOf(TableStyle), CollectionBase<tablestyle>.IndexOf(TableStyle, int), CollectionBase<tablestyle>.IndexOf(TableStyle, int, int), CollectionBase<tablestyle>.LastIndexOf(TableStyle), CollectionBase<tablestyle>.LastIndexOf(TableStyle, int), CollectionBase<tablestyle>.LastIndexOf(TableStyle, int, int), CollectionBase<tablestyle>.GetEnumerator(), CollectionBase<tablestyle>.Clear(), CollectionBase<tablestyle>.RemoveAt(int), CollectionBase<tablestyle>.OnClearComplete(), CollectionBase<tablestyle>.OnClear(), CollectionBase<tablestyle>.Capacity, CollectionBase<tablestyle>.Count, CollectionBase<tablestyle>.InnerList, CollectionBase<tablestyle>.this[int], object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
DefaultPivotStyleName
Gets and sets the default style name of pivot table .
public string DefaultPivotStyleName { get; set; }
Property Value
DefaultTableStyleName
Gets and sets the default style name of the table.
public string DefaultTableStyleName { get; set; }
Property Value
this[int]
Gets the table style by the index.
public TableStyle this[int index] { get; }
Property Value
this[string]
Gets the table style by the name.
public TableStyle this[string name] { get; }
Property Value
Methods
AddPivotTableStyle(string)
Adds a custom pivot table style.
public int AddPivotTableStyle(string name)
Parameters
name
string
The pivot table style name.
Returns
The index of the pivot table style.
AddTableStyle(string)
Adds a custom table style.
public int AddTableStyle(string name)
Parameters
name
string
The table style name.
Returns
The index of the table style.
GetBuiltinTableStyle(TableStyleType)
Gets the builtin table style
public TableStyle GetBuiltinTableStyle(TableStyleType type)
Parameters
type
TableStyleType
The builtin table style type.
Returns
TableStyle </tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle></tablestyle>