[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableStyleElement.Borders

Borders Property

Borders

Gets the borders for this table style element.

Use the returned IBorders object to access or modify the border settings applied to the current table style element.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Examples
ITableStyle tableStyle = workbook.TableStyles.Add("CustomTableStyle");
ITableStyleElement element = tableStyle.TableStyleElements[TableStyleElementType.HeaderRow];
IBorders borders = element.Borders;
borders[BordersIndex.EdgeBottom].LineStyle = BorderLineStyle.Thin;