[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.ShowTableStyleLastColumn

ShowTableStyleLastColumn Property

ShowTableStyleLastColumn

Gets or sets whether the last-column table style element is applied.

This property indicates whether the last-column special style element from the applied table style is used for the current ITable; it does not control whether the entire table style is applied to the last column.

Declaration
bool ShowTableStyleLastColumn { get; set; }
Property ShowTableStyleLastColumn As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Amount"},
    {"Apple", 100},
    {"Pear", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.ShowTableStyleLastColumn = true;
bool showTableStyleLastColumn = table.ShowTableStyleLastColumn;