Skip to main content
A newer version of this page is available. .

XlThemeColor Enum

Lists the base colors of the document theme.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v18.1.Core.dll

Declaration

public enum XlThemeColor

Members

Name Description
None

Specifies that theme colors are not used to set a foreground or background color.

Light1

Specifies the Light 1 text/background color.

Dark1

Specifies the Dark 1 text/background color.

Light2

Specifies the Light 2 text/background color.

Dark2

Specifies the Dark 2 text/background color.

Accent1

Specifies the Accent 1 theme color.

Accent2

Specifies the Accent 2 theme color.

Accent3

Specifies the Accent 3 theme color.

Accent4

Specifies the Accent 4 theme color.

Accent5

Specifies the Accent 5 theme color.

Accent6

Specifies the Accent 6 theme color.

Specifies the theme color used to highlight the inserted hyperlink.

Specifies the theme color used to highlight the visited hyperlink.

Related API Members

The following properties accept/return XlThemeColor values:

Remarks

The values listed by this enumeration are used by following methods:

If you change the document theme by using the IXlDocument.Theme property, the new set of colors corresponding to the selected theme, will be used.

The following code snippets (auto-collected from DevExpress Examples) contain references to the XlThemeColor enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also