Class TableStyleElement

Class TableStyleElement

Namespace: Aspose.Cells.Tables
Assembly: Aspose.Cells.dll (25.2.0)

Represents the element of the table style.

public class TableStyleElement

Inheritance

objectTableStyleElement

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Size

Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.

public int Size { get; set; }

Property Value

int

Type

Gets the element type.

public TableStyleElementType Type { get; }

Property Value

TableStyleElementType

Methods

GetElementStyle()

Gets the element style.

public Style GetElementStyle()

Returns

Style

Returns the Aspose.Cells.Style object.

SetElementStyle(Style)

Sets the element style.

public void SetElementStyle(Style style)

Parameters

style Style

The element style.