ComboBox.GridlineThemeColorIndex 屬性 (Access)ComboBox.GridlineThemeColorIndex property (Access)

取得或設定代表所指定物件**GridlineColor** 屬性相關聯所套用的色彩佈景主題色彩的佈景主題色彩索引。Gets or sets the theme color index that represents a color in the applied color theme associated with the GridlineColor property of the specified object. 可讀寫的 LongRead/write Long.



_運算式_代表**ComboBox** 物件的變數。expression A variable that represents a ComboBox object.


GridlineThemeColorIndex 屬性會使用其中一個如下表所列的值。The GridlineThemeColorIndex property uses one of the values listed in the following table.

Value 描述Description
00 文字 1Text 1
1 (預設值)1 (Default) 背景 1Background 1
22 文字 2Text 2
33 背景 2Background 2
44 輔色 1Accent 1
55 輔色 2Accent 2
66 輔色 3Accent 3
77 輔色 4Accent 4
8 8 輔色 5Accent 5
9 9 輔色 6Accent 6
10 10 超連結Hyperlink
11 11 已瀏覽過的超連結Followed Hyperlink

如果不套用任何佈景主題, GridlineThemeColorIndex 屬性會包含-1。If no theme is applied, the GridlineThemeColorIndex property contains -1.

此屬性不會呈現在屬性表中。This property is not surfaced in the property sheet.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.