Back to Devexpress

SheetView.TabColor Property

officefileapi-devexpress-dot-spreadsheet-dot-sheetview-bf2977a3.md

latest1.4 KB
Original Source

SheetView.TabColor Property

Gets or sets the color of the sheet tab.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Color TabColor { get; set; }
vb
Property TabColor As Color

Property Value

TypeDescription
Color

The sheet tab color.

|

Remarks

The following example changes the color of a worksheet tab:

csharp
// Change the tab color for the first worksheet.
workbook.Worksheets[0].ActiveView.TabColor = Color.LightSkyBlue;
vb
' Change the tab color for the first worksheet.
workbook.Worksheets(0).ActiveView.TabColor = Color.LightSkyBlue

See Also

SheetView Interface

SheetView Members

DevExpress.Spreadsheet Namespace