Version

Style Property (WorksheetTable)

Gets or sets the style to use on the WorksheetTable.
Syntax
public WorksheetTableStyle Style {get; set;}

Property Value

The WorksheetTableStyle instance which defines the various default table area formats.
Exceptions
ExceptionDescription
System.ArgumentExceptionThe value specified is not in the CustomTableStyles or StandardTableStyles collections.
Remarks

The WorksheetTableStyle defines formats to use in various areas of the table. These formats are used as defaults for cells which don't have their formatting properties already set.

The area formats specified in the WorksheetTableStyle are differential formats. In other words, only the properties that are set to non-default values will be applied to the appropriate cells. An area format can define only a background color or only font information and that format will be applied to the cells while all other formatting properties on the cells will be maintained.

If this value is set to null, the Style will be set to the Workbook.DefaultTableStyle.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also